3 ms·
I do like the idea of explicit non-nil pointers. While I have refactored code to explicitly exclude all uses of pointers unless absolutely necessary and (as men
by ihsw2 8y ago
I do like the idea of explicit non-nil pointers. While I have refactored code to explicitly exclude all uses of pointers unless absolutely necessary and (as mentioned in the article) studiously check for nil when receiving interfaces and pointers, it feels hacky as hell. Non-nil pointers would bring us halfway to a better place IMHO.