this post was submitted on 05 Oct 2023
1097 points (96.8% liked)

Programmer Humor

37520 readers
605 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] JackbyDev@programming.dev 2 points 2 years ago (1 children)

It's super confusing. A lot of people think even one null is a problem.

[–] shrugal@lemm.ee 2 points 2 years ago (1 children)

What's confusing about that? It's null, just two different kinds with slightly different meanings. Is having two boolean values also confusing?! Should we simplify it?

I mean I can get behind trying to remove null entirely and replacing it with better concepts, but I cannot understand why having one more null value suddenly makes it confusing. You don't even have to care in 95% of the cases, and it can be useful in the other 5%.

Honestly, it looks more like some kind of misguided purism to me.

[–] JackbyDev@programming.dev 1 points 2 years ago (1 children)

Why stop at two? Why not have a dozen versions of null?

[–] shrugal@lemm.ee 1 points 2 years ago* (last edited 2 years ago)

Idk, how many more do you need?