HNHacker News
TopNewBestAskShowJobs

elizarov

0 karma · joined February 18, 2019

submissionscomments
elizarov··on Types Are Moving to the Right
Aha. Good catch.
elizarov··on Types Are Moving to the Right
Of course it is subjective, though I've used Tiobe, Redmonk and PYPL indices to compile a list of languages.
elizarov··on Types Are Moving to the Right
Thanks!
elizarov··on Types Are Moving to the Right
That is on purpose
elizarov··on Types Are Moving to the Right
ActionScript does not make a cut on any popularity metric that I've used to select popular languages.
elizarov··on Null is your friend, not a mistake
It is not much weaker, but more pragmatic. A typical application has this need to represent a "missing" value quite often and adding a special `?`-based syntax for it totally pays of in practice.

However, it is important to not that `String?` in Kotlin is not a syntactic sugar for `Option<String>`, but a syntactic sugar for `String|null`. The difference between the two might seem minor, but is quite big pragmatically, especially when combined with flow-sensitive typing.