LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 year agoAnon tries programming in Javalemmy.worldimagemessage-square238fedilinkarrow-up1849arrow-down134
arrow-up1815arrow-down1imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 year agomessage-square238fedilink
minus-squareGinny [they/she]@lemmy.blahaj.zonelinkfedilinkarrow-up157arrow-down1·1 year agoI also think Java is shit, but if you manage to get a NullPointerException while writing a hello world program, maybe anon is just not cut out for computers?
minus-squarenavi@lemmy.tespia.orglinkfedilinkarrow-up82·1 year 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-up45·1 year agoThat is because they planed to add pointers and then gave up.
minus-squareRogueBanana@lemmy.ziplinkfedilinkEnglisharrow-up31·1 year 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·1 year agoI mean… they have them. And unsafe. You’re just not supposed to use them
minus-squarestarman@programming.devlinkfedilinkEnglisharrow-up17·1 year agoC# has NullReferenceException and it actually makes sense.
I also think Java is shit, but if you manage to get a NullPointerException while writing a hello world program, maybe anon is just not cut out for computers?
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
NullReferenceExceptionand it actually makes sense.