LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 11 months agoAnon tries programming in Javalemmy.worldimagemessage-square237linkfedilinkarrow-up1850arrow-down135
arrow-up1815arrow-down1imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 11 months agomessage-square237linkfedilink
minus-squarenavi@lemmy.tespia.orglinkfedilinkarrow-up83·11 months agoI always loved that Java has a NullPointerException but doesn’t have the concept of pointers in the language (only references).
minus-squaredukatos@lemm.eelinkfedilinkEnglisharrow-up43·11 months agoThat is because they planed to add pointers and then gave up.
minus-squareRogueBanana@lemmy.ziplinkfedilinkEnglisharrow-up29·11 months agoI can’t tell if you are making a joke but I can believe it could happen if it’s Java
minus-squaremorrowind@lemmy.mllinkfedilinkarrow-up17·11 months agoI mean… they have them. And unsafe. You’re just not supposed to use them
minus-squarestarman@programming.devlinkfedilinkEnglisharrow-up19·11 months agoC# has NullReferenceException and it actually makes sense.
I always loved that Java has a NullPointerException but doesn’t have the concept of pointers in the language (only references).
That is because they planed to add pointers and then gave up.
I can’t tell if you are making a joke but I can believe it could happen if it’s Java
I mean… they have them. And
unsafe
. You’re just not supposed to use themC# has
NullReferenceException
and it actually makes sense.