@LiamTheBox@lemmy.world to Greentext@sh.itjust.works • 5 months agoAnon tries programming in Javalemmy.worldimagemessage-square248fedilinkarrow-up1888arrow-down136
arrow-up1852arrow-down1imageAnon tries programming in Javalemmy.world@LiamTheBox@lemmy.world to Greentext@sh.itjust.works • 5 months agomessage-square248fedilink
minus-square@navi@lemmy.tespia.orglinkfedilink87•5 months agoI always loved that Java has a NullPointerException but doesn’t have the concept of pointers in the language (only references).
minus-square@dukatos@lemm.eelinkfedilinkEnglish46•5 months agoThat is because they planed to add pointers and then gave up.
minus-square@RogueBanana@lemmy.ziplinkfedilinkEnglish32•5 months agoI can’t tell if you are making a joke but I can believe it could happen if it’s Java
minus-square@morrowind@lemmy.mllinkfedilink18•5 months agoI mean… they have them. And unsafe. You’re just not supposed to use them
minus-square@starman@programming.devlinkfedilinkEnglish19•5 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.