Lunatech Research - IT consulting, product research and software development

NederlandsEnglish
 

Literal data structures in Scala

Écrit par Bart Schuller le Mon, 2010-07-19 21:35

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.

Lire

Groovy and Grails meetup on Thursday May 7th

Écrit par Bart Schuller le Mon, 2009-05-04 22:28

May

4

This Thursday the Dutch Groovy and Grails enthusiasts will meet at the Lunatech office in Rotterdam (for details, check www.nlgug.org). We'll have two sessions: one about Grails + Flex, and one about Groovy DSL's, with time left to have a drink and discuss all things related to G&G.

Lire

À propos de Lunatech

Fondé en 1993, Lunatech Research propose du consulting TIC, de la recherche de produits et des équipes de développement. Sous la forme d’une équipe d’experts programmeurs auto-managés travaillant avec une équipe commerciale expérimentée.

Contactez-nous

Lunatech Research B.V.
Heemraadssingel 70
3021 DD Rotterdam, Pays-Bas.

Téléphone et email

Tél : +31 10 750 2600
Fax : +31 10 243 9902
Email : contact@lunatech.fr