LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 10 days agoAnon tries programming in Javalemmy.worldexternal-linkmessage-square248fedilinkarrow-up1871arrow-down135
arrow-up1836arrow-down1external-linkAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 10 days agomessage-square248fedilink
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up32arrow-down4·10 days 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-up19arrow-down2·10 days agoI guess naming it NullReferenceException will revolutionize industry
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up9arrow-down2·10 days 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.