by throwaway234239 · 4y ago · 0 comments
When you don't learn elementary type-safety, you create languages like Java and Go which are plagued with NullPointerException's and nil panics.
So please, learn an ML (and a Lisp).
[1]: https://www.usenix.org/system/files/1311_05-08_mickens.pdf
For instance, when we think of a type like "the natural numbers", that's just a set of 1, 2, 3, ... there is no "null reference to Integer" in there.
Thus I think terms like "null-safe type" is just something we should leave to Java programmers, and not use as a way to talk about types.