Here is an example of a striking difference in verbosity between Java and Scala. Some languages make it easy to concisely declare data structures in your code. Perl, Python, Ruby, PHP all do. Java doesn't.
Let's say you would like to maintain a simple lookup table in your code, to map from country code to country name. And to make it more interesting, let's say you want to have the country names in a couple of different languages.
Did you know we have an open-source web site?
We release all our open-source projects there, as a way to give back to the open-source community we use and abuse every day and without which we’d be knee-deep stuck in proprietary code, inscrutable bugs and opaque security.
Copyright © 2005-2010, Lunatech Research B.V. Tous droits réservés.