2 ms·
Null is the absence of something. Typically given as sentinel value; i.e. a union with the set of possible non-null values. Null references were called by the
by paulddraper 7y ago
Null is the absence of something.
Typically given as sentinel value; i.e. a union with the set of possible non-null values.
Null references were called by their creator "the worst mistake in computer science".
Those that share this belief prefer the more composable Option/Maybe pattern rather then a sentinel value.
https://www.lucidchart.com/techblog/2015/08/31/the-worst-mistake-of-computer-science/ https://www.lucidchart.com/techblog/2015/08/31/the-worst-mis...