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..

Re:Yammer moving away from Scala by michaelcampbell on Tuesday November 29, 2011 @03:46PM (#3292098)
Fascinating writeup, honestly. I've only dabbled with Scala around the edges and have been focusing on Clojure recently, so I don't have enough experience to agree or disagree with that, but Scala always felt too ... something, for me. I'm having fun with Clojure, and the community is wonderful. For quicky java-esque one-offs, Groovy is suiting me.

But to each their own.

Re:Yammer moving away from Scala by jbrkr on Tuesday November 29, 2011 @03:09PM (#3291933)
Also available here: https://gist.github.com/1406238
Re:Yammer moving away from Scala by jodastephen on Tuesday November 29, 2011 @05:13PM (#3292480)
I've also copied it to my blog, in case the new gist disappears: http://blog.joda.org/2011/11/real-life-scala-feedback-from-y...
Re:Yammer moving away from Scala by eneveu on Wednesday November 30, 2011 @04:32PM (#3296996)
Note that InfoQ covered the whole story (which is how I found out about this HN discussion): http://www.infoq.com/news/2011/11/yammer-scala
Re:Yammer moving away from Scala by alexobjelean on Tuesday November 29, 2011 @03:15PM (#3291958)
Would love to hear more feedback regarding usage of scala in big companies with large code-base.
Re:Yammer moving away from Scala by latchkey on Tuesday November 29, 2011 @03:16PM (#3291960)
Interesting that it has gone away now. @jbrkr, thanks for finding a new link.
Re:Yammer moving away from Scala by codahale on Tuesday November 29, 2011 @03:21PM (#3291980)
I'm curious as to where you got that link, considering that I didn't share my personal correspondance with Typesafe with you.
Re:Yammer moving away from Scala by jameskilton on Tuesday November 29, 2011 @03:04PM (#3291917)
Gist has been deleted, did the OP happen to grab the text?