News for hackers. Stuff that matters.
Re:Akka Futures In Scala With A Simple Example by noelwelsh on Monday January 14, 2013 @03:33AM (#5053825)
I dream of the day when I can read the HN comments on a Scala post without the anti-Scala trolls posting.

   future onSuccess { foo } == future.onSuccess(foo)
This is Scala 101. How can you not know this?

As for implicits -- that's an old argument I'm not interested in revisiting.

Re:Akka Futures In Scala With A Simple Example by mmaltiar on Monday January 14, 2013 @05:23AM (#5054068)
Thanks noelwelsh couldn't agree more with you
Re:Akka Futures In Scala With A Simple Example by TeeWEE on Monday January 14, 2013 @07:30AM (#5054361)
Sorry was not meant as a troll post. Indeed you are right. I got confused by the syntax. My fault.

However consistency in its syntax is something I value in a language. Scala is too much influenced by Java, imho.

B.t.w apart from these kind of things in the language, the biggest thing I really hate about it, is builtin support for XML.. WTF Really?

I would recommend anyone trying to learn functional style of programming to pick up lisp :-)