What languages announced after 2009 have no null (but something like an Option type instead). I have Rust, Hack, Swift. Anything else?
-
-
@wycats ah! That is correct. nil is a constant which value is Optional<T>.None. -
@luisobo Rust does essentially the same thing: enum Option<T> { Some(T), None } -
@wycats I see. Not sure why defining nil as None except for familiarity but that doesn't make much sense for a new language
thoughts?
End of conversation
New conversation -
-
-
-
@Januzellij@luisobo Right, which satisfies my (admittedly sloppily described) constraint. -
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.