Re:Kotlin vs. Java – An Android Developer's First Impressions
by relics443 on Wednesday May 03, 2017 @10:23PM
(#14261944)
Having used Java for 7 years, and using Kotlin for the past year, I would say it's the syntactic sugar version of java in the way that Java is the syntactic sugar version of C++, which is the syntactic sugar version of C which is the syntactic sugar version of ASM, etc...
[ Parent
| on HN ]
Re:Kotlin vs. Java – An Android Developer's First Impressions
by thehardsphere on Thursday May 04, 2017 @01:58PM
(#14267116)
So what am I missing? Or rather, what is the article missing? (I knew nothing about Kotlin before this article)
I mean, I wouldn't agree with the classification of any of those languages as the syntactic sugar of whatever. C is portable ASM, which is a big deal. C++ is object oriented C, which is a different paradigm and feels a lot more salty than C because of the increased complexity. Java was rather ambitious (safe to say overly so) and brought with it a lot of differences with C++ that were not just syntax (which is definitely sweeter).
What does Kotlin give me besides less verbose syntax and some nice compile time null checking?