Comment on Anon tries programming in Java
Blue_Morpho@lemmy.world 1 day agonullpointerexception 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.
Lysergid@lemmy.ml 1 day ago
I guess naming it NullReferenceException will revolutionize industry
Blue_Morpho@lemmy.world 1 day ago
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.