this post was submitted on 13 Nov 2024
788 points (96.1% liked)

Greentext

4379 readers
1854 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] svcg@lemmy.blahaj.zone 146 points 1 day ago (1 children)

I also think Java is shit, but if you manage to get a NullPointerException while writing a hello world program, maybe anon is just not cut out for computers?

[–] navi@lemmy.tespia.org 78 points 1 day ago (2 children)

I always loved that Java has a NullPointerException but doesn't have the concept of pointers in the language (only references).

[–] starman@programming.dev 16 points 1 day ago

C# has NullReferenceException and it actually makes sense.

[–] dukatos@lemm.ee 40 points 1 day ago (2 children)

That is because they planed to add pointers and then gave up.

[–] morrowind@lemmy.ml 14 points 23 hours ago

I mean... they have them. And unsafe. You're just not supposed to use them

[–] RogueBanana@lemmy.zip 26 points 1 day ago

I can't tell if you are making a joke but I can believe it could happen if it's Java