Re: [ANN] Scala-2



On Mon, 03 Apr 2006 10:50:29 +0200, francois.garillotNO@xxxxxxxxxxxx
(François Garillot) wrote, quoted or indirectly quoted someone who
said :

Scala also adds several important and convenient constructs, such as:

- mixin composition with traits,
- first-class functions,
- case classes and pattern matching,
- XML expressions and patterns,
- virtual types,
- for-comprehensions,

I was looking at some of the Scala examples. One of the ways it
differs from Java is you don't have to keep defining the types of
every variable. It KNOWS what the type it is by the signature of the
method that defines the variable's initial value. This is a very good
thing. It makes code less brittle. If you change the signature of a
method, the local variables all automatically track the change.

It gets rid of most semicolons.

It seems pretty straight forward except for "def" which seems to have
many uses.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Re: IDS detection approaches
    ... believe that other vendors are not simple signature engines or are ... just said that PATTERN MATCHING is so "cat X | grep X", ... There are four main variables for this vulnerability work: ... protocol UDP, port 1434, first byte in payload equals to 0x04 and the size ...
    (Focus-IDS)
  • RE: IDS detection approaches
    ... believe that other vendors are not simple signature engines or are ... just said that PATTERN MATCHING is so "cat X | grep X", ... There are four main variables for this vulnerability work: ... protocol UDP, port 1434, first byte in payload equals to 0x04 and the size ...
    (Focus-IDS)