this post was submitted on 13 Nov 2024
835 points (96.1% liked)

Greentext

4470 readers
1545 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Blue_Morpho@lemmy.world 28 points 1 week ago (1 children)

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.

[–] Lysergid@lemmy.ml 15 points 1 week ago (1 children)

I guess naming it NullReferenceException will revolutionize industry

[–] Blue_Morpho@lemmy.world 7 points 1 week 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.