News for hackers. Stuff that matters.
Re:Scala – 1 Star – Would Not Program Again by lmm on Monday December 02, 2013 @03:58AM (#6832581)
It's partly culture; Scala makes types that little bit easier to use (e.g. case classes, type inference), so things that you might pass as an untyped Map[String, Object] in other languages, you tend to pass as a case class instead. e.g. using spray in scala, the type system will catch if you misspell a HTTP header, because, as the article complains about, they're represented as types.

(Though of course there is an escape hatch, you can use RawHeader(name, value) if you need to).

There are no comments on this comment yet.