Meditations on programming, startups, and technology
Currently Browsing: Scala

10 Ruby One Liners to Impress Your Friends

Someone came up with a list of 10 one-liner examples that are meant to showcase Scala’s expressiveness. A CoffeeScript version quickly emerged, so I thought I’d publish a Ruby one. I find Ruby’s syntax to be a bit cleaner than Scala’s, but the substance (at least as far as these examples are concerned) is relatively similar. Multiply each item in a list by 2 (1..10).map { |n| n * 2 } Sum a list of...

On Scala’s future

Kenneth McDonald posted the following question about Scala’s future in the Scala mailing list: I thought it would be interesting to find out people’s predictions for how much of the Java market Scala will eventually penetrate. It’s nice to see Scala doing reasonably well so far, so now’s your chance to make a prediction on the future of Scala: a) Scala will remain a niche language, competing...

Copyright © 2005-2012 Antonio Cangiano. All rights reserved.