News for hackers. Stuff that matters.
Re:Is Scala the new Ruby? by eip on Friday June 07, 2013 @05:44PM (#5842152)
If you are going for short code then the following scala example:

val arrayTwo = arrayOne.map { item:Int => item + 1 }

Can be written like this:

val arrayTwo = arrayOne.map(_+1)

"the availability of ruby gems is highly superior to the amount of SBT dependencies"

SBT is just a questionable version of Maven and I would bet money the amount of Java/Scala libs available in Maven repositories far exceeds the number of Ruby gems available.

There are no comments on this comment yet.