|
|
|
|
|
by aatd86
951 days ago
|
|
Very interesting work.
I wonder what were the difficulties encountered.
Aliasing? Variable reassignment wrt short declaration shadowing? Hopefully with time, when exploring union types and perhaps a limited form of generalized subtyping (currently it's only interface types) we'll be able to deal with nil for good. Nil is useful, as long as correctly reined in. |
|
A good way to rein in behaviour is with types. If you need Nil in your domain, great! Give it type 'Nil'.