Comment by whatevaa

9 hours ago

If null is an actual value, you need another value to represent "undefined".

Null is also considered a billion dollar mistake by very smart people.

If you are referring to Tony Hoares talk, it is not nulls which is the billion dollar mistake. The mistake is type systems which does not distinguish between nullable and non-nullable.