by initplus · 4y ago · 0 comments
Nearly every pointer bug is caused by the programmer wanting one of these two properties, and not considering the consequences of the other.
Non-nullable references and pass-by-value optionals can replace many usages of pointers.
Providing more restricted types that can replace raw pointers for many use cases makes languages safer.