@LiamTheBox to [email protected] • 2 months agoAnon tries programming in Javaimagemessage-square248arrow-up1882arrow-down135
arrow-up1847arrow-down1imageAnon tries programming in Java@LiamTheBox to [email protected] • 2 months agomessage-square248
minus-square@[email protected]linkfedilink87•2 months 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]linkfedilinkEnglish47•2 months agoThat is because they planed to add pointers and then gave up.
minus-square@[email protected]linkfedilinkEnglish32•2 months agoI can’t tell if you are making a joke but I can believe it could happen if it’s Java
minus-square@[email protected]linkfedilink18•2 months agoI mean… they have them. And unsafe. You’re just not supposed to use them
minus-square@[email protected]linkfedilinkEnglish19•2 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.