News for hackers. Stuff that matters.

ethzero

Re:Scala – 1 Star – Would Not Program Again on Sunday December 01, 2013 @09:36PM (#6831081)
Spray allows you to define custom (even invalid) headers, all you have to do is subclass HttpHeader. I'm sure the author knew this, but it's not obvious from his criticism.
Re:GHCJS - Haskell in the Browser on Wednesday June 26, 2013 @02:13PM (#5947830)
You don't need tail calls in JavaScript in order have them in a language that compiles to JS. The tail call can be compiled as a while loop. This is what Scala does on the JVM (and presumably what Scala.js does as well).
Re:Everything about Java 8 on Wednesday March 27, 2013 @02:41PM (#5451197)
It's not an identical capability. Scala doesn't technically have operator overloading, it has symbolic method names and operator syntax for methods. This means you can use any valid name as an operator.

With C++, you can only overload the built-in symbolic operators. This means instead of choosing the best symbolic name to use as an operator you're forced to re-purpose some built-in operator like "<<". In Scala you can pick any name or symbol you want.