Re:Ask HN: Has anyone here programmed in Kotlin? What do you...
by CookieCutter2 on Sunday July 26, 2015 @01:33PM
(#9951647)
1. Option solves a long list of programming problems (mostly around things being there or not, but others as well) while non-nullable types only solve NPEs.
2. Sorry, wording is vaque, often deconstruction is
val MyValueObject(a,b,c) = myObject
Kotlin has deconstruction:
Their documentation did indeed commit this sin when I first started using Kotlin last year. It's been cleaned up considerably and this is no longer an issue (except, I think, for the mysterious modules which appear to be an IDE specific concept).