LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 month agoAnon tries programming in Javalemmy.worldimagemessage-square47fedilinkarrow-up110arrow-down10
arrow-up110arrow-down1imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 month agomessage-square47fedilink
minus-squarenavi@lemmy.tespia.orglinkfedilinkarrow-up2·1 month 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-up2·1 month agoThat is because they planed to add pointers and then gave up.
minus-squaremorrowind@lemmy.mllinkfedilinkarrow-up1·1 month agoI mean… they have them. And unsafe. You’re just not supposed to use them
minus-squareRogueBanana@lemmy.ziplinkfedilinkEnglisharrow-up1·1 month 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).
That is because they planed to add pointers and then gave up.
I mean… they have them. And
unsafe
. You’re just not supposed to use themI can’t tell if you are making a joke but I can believe it could happen if it’s Java