C# has NullReferenceException
and it actually makes sense.
Comment on Anon tries programming in Java
navi@lemmy.tespia.org 5 weeks agoI always loved that Java has a NullPointerException but doesn’t have the concept of pointers in the language (only references).
starman@programming.dev 5 weeks ago
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 them