LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 day agoAnon tries programming in Javalemmy.worldimagemessage-square209fedilinkarrow-up1759arrow-down130
arrow-up1729arrow-down1imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 day agomessage-square209fedilink
minus-squareBlue_Morpho@lemmy.worldcakelinkfedilinkarrow-up31arrow-down3·23 hours ago nullpointerexception is more likely the developper’s fault Of course it was the developer’s fault. But it’s absurd a language without pointers throws an error about pointers.
minus-squareLysergid@lemmy.mllinkfedilinkarrow-up17arrow-down2·22 hours agoI guess naming it NullReferenceException will revolutionize industry
minus-squareBlue_Morpho@lemmy.worldcakelinkfedilinkarrow-up8arrow-down1·19 hours agoHaving error messages that match the language is actually helpful. A reference and a pointer aren’t exactly the same. Like if Rust output “invalid word size” on a type mismatch.
Of course it was the developer’s fault. But it’s absurd a language without pointers throws an error about pointers.
I guess naming it NullReferenceException will revolutionize industry
Having error messages that match the language is actually helpful. A reference and a pointer aren’t exactly the same.
Like if Rust output “invalid word size” on a type mismatch.