@LiamTheBox to [email protected] • 1 day agoAnon tries programming in Javaimagemessage-square217arrow-up1777arrow-down131
arrow-up1746arrow-down1imageAnon tries programming in Java@LiamTheBox to [email protected] • 1 day agomessage-square217
minus-squareGinny [they/she]linkfedilink142•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@[email protected]linkfedilink76•24 hours agoI always loved that Java has a NullPointerException but doesn’t have the concept of pointers in the language (only references).
minus-square@[email protected]linkfedilinkEnglish16•18 hours agoC# has NullReferenceException and it actually makes sense.
minus-square@[email protected]linkfedilinkEnglish40•23 hours agoThat is because they planed to add pointers and then gave up.
minus-square@[email protected]linkfedilink14•18 hours agoI mean… they have them. And unsafe. You’re just not supposed to use them
minus-square@[email protected]linkfedilinkEnglish25•21 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