4 ms·
You are right that null can be problem when encoded wrong in a statically typed language. But they cause problems even without static types. https://www.lucid
by paulddraper 11y ago
You are right that null can be problem when encoded wrong in a statically typed language.
But they cause problems even without static types.
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...
For example, Rust can have Option<Option<T>>, which can be None, Some(None), or Some(Some(...)). But you can represent that with null, because nulls don't "stack".