Better HN
topnewbestaskshowjobs
Log inSign up

elizarov

0 karma · joined Feb 18, 2019 (7y ago) · 6 submissions

Submissions

comment 7y ago · link · parent

Aha. Good catch.

comment 7y ago · link · parent

Of course it is subjective, though I've used Tiobe, Redmonk and PYPL indices to compile a list of languages.

comment 7y ago · link · parent

Thanks!

comment 7y ago · link · parent

That is on purpose

comment 7y ago · link · parent

ActionScript does not make a cut on any popularity metric that I've used to select popular languages.

comment 7y ago · link · parent

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.