12 ms·
Swift has algebraic data types and pattern matching, this doesn't. It just seems to be Java with a paintjob and some bells and whistles tacked on. I don't see t
by kryptiskt 12y ago
Swift has algebraic data types and pattern matching, this doesn't. It just seems to be Java with a paintjob and some bells and whistles tacked on. I don't see the point of such a timid new language.
- 21echoes 12y agoliterally the third sentence: "For the desperate and adventurous there are the JVM alternatives like Scala and Groovy, but using them with Android is expensive: importing a language means importing the whole runtime, which is a nightmare for the package size and method count"
- emmanueloga_ 12y agoCeylon does better in this regard [1]. Ceylon and Kotlin share some features and aesthetics but Ceylon provides a lot more power over java8 than a nicer syntax for lambdas, e.g. algebraic types. I'm also excited about Ceylon's module system [2]. 1: http://ceylon-lang.org/documentation/1.0/faq/language-design/#language_features http://ceylon-lang.org/documentation/1.0/faq/language-design... 2: http://ceylon-lang.org/blog/2013/04/11/about-modules/ http://ceylon-lang.org/blog/2013/04/11/about-modules/