C# has NullReferenceException
and it actually makes sense.
Comment on Anon tries programming in Java
navi@lemmy.tespia.org 1 day agoI always loved that Java has a NullPointerException but doesn’t have the concept of pointers in the language (only references).
starman@programming.dev 1 day ago
dukatos@lemm.ee 1 day ago
That is because they planed to add pointers and then gave up.
RogueBanana@lemmy.zip 1 day 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 1 day ago
I mean… they have them. And
unsafe
. You’re just not supposed to use them