News for hackers. Stuff that matters.
Re:Go After 2 Years in Production by pkinsky on Tuesday August 27, 2013 @02:25PM (#6285216)
>Another downside of Scala is its HUGE syntax. Processing strings? Here's a ten million ways to do it.. (a bit over-exaggerating). Oh and if you chose this way, then you should use this syntax. No, not that one, THIS one. Oh no, not that one, this variation of that one that looks like this.

On the other hand, Scala lets you deal with collections and Strings using the same enormous set of methods.

    "\"foo\"".drop(1).dropRight(1)
is just

    List('"', 'f', 'o', 'o', '"').drop(1).dropRight(1)

There are no comments on this comment yet.