Re:The Logical Disaster of Null
by viraptor on Thursday May 10, 2018 @03:31AM
(#17037025)
Circular data types are perfectly fine with optional types. You can have optional<*raw_pointer> for example which after compilation may even be equivalent to a simple null, since valid pointers are not-null.
This was discussed in rust some time ago: https://mail.mozilla.org/pipermail/rust-dev/2013-March/00330...