GIGO: words unreadable aloud
Mishrogo Weedapeval
 

 

  Friday 30 January 2004
Scala is getting big

In the nearly two years since I first mentioned Martin Odersky's new Programming Language Scala, the language has grown quite a bit. At that time, it did already have the "case classes" that I thought (and still think) are one of the main keys to its nice integration of Functional and Object-Oriented paradigms.

But they have recently added

  • a very cool implementation of generic types, whose parameters can be constrained with "upper" and "lower" type bounds and with variance annotations (covariant/invariant/contravariant);
  • traits and mixin-style composition;
  • a few additions to make it a bit easier to work with XML-like data, including Xen-like postfix operators "?", "+", and "*" (I think), a LISP-like "symbol" syntax, and regular expression patterns;
  • and a bunch more.

When I first read the documentation as it existed in 2002, I wondered where the support was for their claim that Scala was designed "to support Web services". Now we see several features that support that claim.

It does seem like a heck of a lot of features, though.

I still think Scala would be a great candidate for a Language of the Year to learn. Maybe it should be 2004's LotY — no one on the pragprog list has even whispered anything about choosing one yet. I guess I'll have to.
12:27:19 AM   comment/     



Click here to visit the Radio UserLand website. Click to see the XML version of this web page. © Copyright 2007 Doug Landauer .
Last update: 07/2/6; 12:36:38 .
Click here to send an email to the editor of this weblog.

January 2004
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Dec   Feb

Previous/Next