Comment on Anon tries programming in Java
svcg@lemmy.blahaj.zone 5 weeks ago
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?
Comment on Anon tries programming in Java
svcg@lemmy.blahaj.zone 5 weeks ago
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 5 weeks ago
I always loved that Java has a NullPointerException but doesn’t have the concept of pointers in the language (only references).
dukatos@lemm.ee 5 weeks ago
That is because they planed to add pointers and then gave up.
RogueBanana@lemmy.zip 5 weeks ago
I can’t tell if you are making a joke but I can believe it could happen if it’s Java
morrowind@lemmy.ml 5 weeks ago
I mean… they have them. And
unsafe
. You’re just not supposed to use themstarman@programming.dev 5 weeks ago
C# has
NullReferenceException
and it actually makes sense.