4 ms·
The language is indeed very nice but really key things that make it so nice are also: 1. The IDE support (without it, it would be somewhat more painful) 2. Th
by jarym 9y ago
The language is indeed very nice but really key things that make it so nice are also:
1. The IDE support (without it, it would be somewhat more painful)
2. The fact JetBrains have built a really great new syntax and still have it compile down to regular java bytecode - and bytecode that isn't a total nightmare (I'm looking at you Scala!)
3. JetBrains use it themselves for their own suite of commercial products (mostly code editors) - this made me feel like it was less likely to become a toy language.
4. The fact that coming from Java it is absolutely painless - familiar syntax, automatic code conversion that works well for the most part, and full interop with Java.
- smt88 9y agoCan you say more about what you dislike about compiled Scala?
- jarym 9y agoIn order to implement all the Scala language magic the generated byte code is sometimes far away from what the equivalent Java code byte code would look like. This isn't a problem for most people but it is an issue for anyone who uses stuff like byte code instrumentation - take a look at this issue for example: https://github.com/puniverse/quasar/issues/45 https://github.com/puniverse/quasar/issues/45 It's not a criticism of Scala (the language is just a LOT richer so has to cater for more sophistication). But the difference matters to me which is why I prefer Kotlin over Scala and I'm prepared to miss out on some of that sweet Scala magic.