@LiamTheBox@lemmy.world to Greentext@sh.itjust.works • 1 day agoAnon tries programming in Javalemmy.worldimagemessage-square224fedilinkarrow-up1789arrow-down133
arrow-up1756arrow-down1imageAnon tries programming in Javalemmy.world@LiamTheBox@lemmy.world to Greentext@sh.itjust.works • 1 day agomessage-square224fedilink
minus-squareGinny [they/she]linkfedilink143•1 day 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-square@navi@lemmy.tespia.orglinkfedilink76•1 day agoI always loved that Java has a NullPointerException but doesn’t have the concept of pointers in the language (only references).
minus-square@starman@programming.devlinkfedilinkEnglish16•20 hours agoC# has NullReferenceException and it actually makes sense.
minus-square@dukatos@lemm.eelinkfedilinkEnglish39•1 day agoThat is because they planed to add pointers and then gave up.
minus-square@morrowind@lemmy.mllinkfedilink14•20 hours agoI mean… they have them. And unsafe. You’re just not supposed to use them
minus-square@RogueBanana@lemmy.ziplinkfedilinkEnglish25•23 hours agoI can’t tell if you are making a joke but I can believe it could happen if it’s Java
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).
C# has
NullReferenceException
and it actually makes sense.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