LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 month agoAnon tries programming in Javalemmy.worldimagemessage-square15fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 month agomessage-square15fedilink
minus-squarenavi@lemmy.tespia.orglinkfedilinkarrow-up0·30 days agoI always loved that Java has a NullPointerException but doesn’t have the concept of pointers in the language (only references).
minus-squarestarman@programming.devlinkfedilinkEnglisharrow-up1·30 days agoC# has NullReferenceException and it actually makes sense.
minus-squaredukatos@lemm.eelinkfedilinkEnglisharrow-up0·30 days agoThat is because they planed to add pointers and then gave up.
minus-squareRogueBanana@lemmy.ziplinkfedilinkEnglisharrow-up1·30 days agoI can’t tell if you are making a joke but I can believe it could happen if it’s Java
I always loved that Java has a NullPointerException but doesn’t have the concept of pointers in the language (only references).
C# has
NullReferenceException
and it actually makes sense.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