@LiamTheBox@lemmy.world to Greentext@sh.itjust.works • 5 months agoAnon tries programming in Javalemmy.worldimagemessage-square248fedilinkarrow-up1888arrow-down136
arrow-up1852arrow-down1imageAnon tries programming in Javalemmy.world@LiamTheBox@lemmy.world to Greentext@sh.itjust.works • 5 months agomessage-square248fedilink
minus-square@Blue_Morpho@lemmy.worldlinkfedilink28•5 months 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-square@Lysergid@lemmy.mllinkfedilink17•5 months agoI guess naming it NullReferenceException will revolutionize industry
minus-square@Blue_Morpho@lemmy.worldlinkfedilink8•5 months 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.