How is it better than Ceylon 1.2? Ceylon compiles to JVM bytecode, JavaScript, Dart, and will to LLVM in the future. As a language, it's a great superset of Java. I posted [0] about the great new Ceylon 1.2 (which is backed by Red Hat), and nobody seemed to care, but there's so much hype about Kotlin - I don't get it! [0] https://news.ycombinator.com/item?id=10474126
The Kotlin Language: 1.0 Beta Is Here
41–50 of 102 posts
Re: The Kotlin Language: 1.0 Beta Is Here
#42it would be great if playframework also had kotlin support. The problem here is that kotlin has no sbt support.
Is Play any good these days? Tried it when it was new, was an utter mess. Found a couple of bugs within the first hour or so...
Re: The Kotlin Language: 1.0 Beta Is Here
#43How is it better than Ceylon 1.2? Ceylon compiles to JVM bytecode, JavaScript, Dart, and will to LLVM in the future. As a language, it's a great superset of Java. I posted [0] about the great new Ceylon 1.2 (which is backed by Red Hat), and nobody seemed to care, but there's so much hype about Kotlin - I don't get it! [0] https://news.ycombinator.com/item?id=10474126
So, let me ask you, how is Ceylon better than Kotlin? I'd like to see a good write-up (separate blog post) that compares and contrasts the two. What are use cases where one language would be significantly better than the other?
(Edit) Wow! Did not expect such a dearth of samples (for both languages) on Rosetta Code.
http://rosettacode.org/wiki/Category:Ceylon
http://rosettacode.org/wiki/Category:Kotlin
and only one overlap:
Re: The Kotlin Language: 1.0 Beta Is Here
#44it would be great if playframework also had kotlin support. The problem here is that kotlin has no sbt support.
Is Play any good these days? Tried it when it was new, was an utter mess. Found a couple of bugs within the first hour or so...
Re: The Kotlin Language: 1.0 Beta Is Here
#45I'd ask people who disagree to put their disagreement into words.
Re: The Kotlin Language: 1.0 Beta Is Here
#46How is it better than Ceylon 1.2? Ceylon compiles to JVM bytecode, JavaScript, Dart, and will to LLVM in the future. As a language, it's a great superset of Java. I posted [0] about the great new Ceylon 1.2 (which is backed by Red Hat), and nobody seemed to care, but there's so much hype about Kotlin - I don't get it! [0] https://news.ycombinator.com/item?id=10474126
[1]: http://ceylon-lang.org/documentation/1.1/faq/ + http://ceylon-lang.org/blog/2012/01/10/goals/
Re: The Kotlin Language: 1.0 Beta Is Here
#47Comparison with Ceylon ?
Here's a preso: https://speakerdeck.com/evacchi/kotlin-and-ceylon-modern-pro... I can't say I've used Ceylon much but I think Kotlin's syntax is much nicer and it's much easier to approach than Scala.
Re: The Kotlin Language: 1.0 Beta Is Here
#48are non-exhaustive pattern matches in kotlin warnings, errors, or neither? looks like from the docs: "If `when` is used as an expression, the `else` branch is mandatory, unless the compiler can prove that all possible cases are covered with branch conditions." So it is an error, I assume?
With the caveat that I haven't tried it myself: > What about pattern matching? This is where the word “sealed” above comes in handy; we can do an exhaustive pattern match without an else/otherwise branch from https://medium.com/@octskyward/kotlin-fp-3bf63a17d64a#.8dbwa...
Re: The Kotlin Language: 1.0 Beta Is Here
#49How is it better than Ceylon 1.2? Ceylon compiles to JVM bytecode, JavaScript, Dart, and will to LLVM in the future. As a language, it's a great superset of Java. I posted [0] about the great new Ceylon 1.2 (which is backed by Red Hat), and nobody seemed to care, but there's so much hype about Kotlin - I don't get it! [0] https://news.ycombinator.com/item?id=10474126
Re: The Kotlin Language: 1.0 Beta Is Here
#50are non-exhaustive pattern matches in kotlin warnings, errors, or neither? looks like from the docs: "If `when` is used as an expression, the `else` branch is mandatory, unless the compiler can prove that all possible cases are covered with branch conditions." So it is an error, I assume?
You can basically consider 'when'-expressions to be syntax sugar over Java's if-else or ternary operator (?:) chains.