4 ms·
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)
by noelwelsh 14y ago
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.
- mmaltiar 14y agoThanks noelwelsh couldn't agree more with you
- TeeWEE 14y agoSorry 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 :-)