JackbyDev
link
fedilink
English
11Y

Just make fun of it for having two flavors of null.

So what’s wrong with having two flavors of null?

JackbyDev
link
fedilink
English
21Y

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

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
link
fedilink
English
11Y

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

@shrugal@lemm.ee
link
fedilink
1
edit-2
1Y

Idk, how many more do you need?

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 150 users / day
  • 229 users / week
  • 509 users / month
  • 2.91K users / 6 months
  • 1 subscriber
  • 1.54K Posts
  • 34.1K Comments
  • Modlog