4 ms·
I don't see any advantages in this over Scala.
by dtech 13y ago
I don't see any advantages in this over Scala.
- kitd 13y agoMany enterprise shops won't look too far beyond plain Java. Xtend is not as far beyond plain Java as Scala is. One of its selling points is that you can just generate plain Java from Xtend into your normal source folders. Yes, yes, I know enterprise CTOs need a good slapping, but at least this gives their down-trodden devs an option. As such, I think it will come under threat from Java 8 rather than Scala.
- ZoFreX 13y agoProbably easier to write for Android with Xtend than Scala.
- bad_user 13y agoWhy is that? Tooling support at this point is much better for Scala than it is for many JVM languages, including Xtend. Checkout: https://github.com/pocorall/scaloid https://github.com/pocorall/scaloid You can do that in combination with IntelliJ IDEA for example, which has awesome support for both Scala and Android. Google's new Android Studio is actually the same as IntelliJ Android plugin that they distribute as part of their open-source distribution. It's also the best IDE ever.
- lmm 13y agoWhy's that? If you're worried about generating lots of extra inner classes, isn't that still a problem with Xtend? Other than that, what's the problem with using Scala on Android?
- coldtea 13y agoNot having to mess with the Scale typesystem is a great advantage.
- klibertp 13y agoYou don't need to mess with a type system unless you're doing some fairly advanced stuff. And then messing with type system starts to be better than messing with reflection, anyway. I'm a dynamic-languages kind of guy, but Scala type system is one of its advantages. Scala type system is comparable with OCaml and Haskell and that's really something you can't say about Java.