News for hackers. Stuff that matters.
Re:Yammer moving away from Scala by lucian1900 on Tuesday November 29, 2011 @04:03PM (#3292162)
I've been looking for alternatives to Java for Android development. Since Python and Clojure aren't options (right now anyway), I looked at Scala among others.

I found the syntax pretty terrible, worse than Java in several ways. In particular, too complex. I also found the object system overly complicated (and I find Haskell's ok).

Re:Yammer moving away from Scala by michaelcampbell on Tuesday November 29, 2011 @04:16PM (#3292211)
It's early days yet, but you /can/ do Clojure on android. Check out https://market.android.com/details?id=com.sattvik.clojure_re..., and google Daniel Solano Gomez; the guy behind the vast majority of that effort.
Re:Yammer moving away from Scala by lucian1900 on Tuesday November 29, 2011 @06:39PM (#3292874)
I know, and it's an awesome effort. But it's still not practical (yet).
Re:Yammer moving away from Scala by michaelcampbell on Tuesday November 29, 2011 @09:46PM (#3293429)
Oh I agree; I didn't know if you knew of it, or if you simply meant it wasn't "there" enough yet for your use. I just wanted to make you aware of it in case you weren't. Cheers!
Re:Yammer moving away from Scala by rckenned on Tuesday November 29, 2011 @04:53PM (#3292377)
The Bump guys did a "Scala on Android" talk at the last Scala Days. They didn't explicitly say it, but reading between the lines it sounded like, "Scala on Android…don't".

http://www.slideshare.net/michael.galpin/scala-on-android-ex...

Re:Yammer moving away from Scala by foobarbazetc on Tuesday November 29, 2011 @07:53PM (#3293124)
This would be obvious to anyone who's ever had to program Java for Android.

It's slow enough -- why would you want to make it even slower?

Re:Yammer moving away from Scala by svenefftinge on Tuesday November 29, 2011 @05:46PM (#3292662)
Have a look at Xtend (http://xtend-lang.org). It's exactly what the yammer guy is looking for: convenience of Scala (closures, type inference, and more) without the complexity.

And it compiles to Java source code, which makes it an ideal language for Android development.

Re:Yammer moving away from Scala by discreteevent on Tuesday November 29, 2011 @06:47PM (#3292902)
If you are the real Sven then kudos for signing your name to this comment but I think it looks a bit opportunistic of you to pile on in this context with a recommendation for your language. No language is perfect and xtend itself hasn't even been used in anger yet.
Re:Yammer moving away from Scala by svenefftinge on Wednesday November 30, 2011 @02:26AM (#3294157)
Yes, I was recommending it as an answer to the Android question. I should have left out the bit about the "Yammer guy". I like Scala btw.
Re:Yammer moving away from Scala by lucian1900 on Friday December 02, 2011 @08:20AM (#3303871)
It looks interesting, actually. I may give it a try, along with haXe's Java backend (if/when it gets released).
Re:Yammer moving away from Scala by soc88 on Wednesday November 30, 2011 @11:15AM (#3295504)
Yet another language obsolete after Java 8. That's exactly what people need.
Re:Yammer moving away from Scala by gtani on Wednesday November 30, 2011 @12:58PM (#3295977)
You never know.

It's like the Kentucky Derby. There's the big 4, scala, clojure, JRuby and groovy, all nice languages. Then there's the little 5: kotlin, ceylon, gosu, fantom, Xtend. Gosu and fantom are worth trying, I just haven't got around to it..