4 ms·
undefined is awful because you can use it anywhere. Done properly you would only be able to use it in APIs that specifically need to deal with that form of null
by TheCoelacanth 6y ago
undefined is awful because you can use it anywhere. Done properly you would only be able to use it in APIs that specifically need to deal with that form of null.
- runeks 6y agoIt’s also awful because it’s unnecessary when we can just define e.g. Option<T> at the library level.