Hello Tony,

Tony Pelton a écrit :
i've been using Java forever. as far as i can recall, inner classes
and anonymous classes have been in the language since its inception.

they were not "added".

I remember inner classes were added to Java 1.1. They are not originally part of Java 1.0. Same thing for anonymous classes. Maybe I'm wrong, but I do remember a time where I used java without inner classes. weren't available.

In fact, it's such a stupid idea Java is now
coming to the notion of namespaces (for the same reason as C++ in its
time).

i'm not sure if you are citing some new language feature in Java 6 or
something that I haven't heard of ?

I'm sorry, I got the name wrong : the correct name is "SuperPackages" or JSR-292. Still under investigation. Also called "friends". ;-)

Also, just coming out in Java are <type-safe> enums...(!) (JDK 1.5)

I'm not attacking java here. Today's Pascal has evolved a lot from the original 1970s vintage Pascal. I'm just writing that many <new> features of java have been available for years in Pascal to promote modern software engineering. And that sometimes, they are better designed, at least from a software engineering point of view. And I believe this language, this "Nicklaus Wirth School of Thought" will continue to evolve, for example, compiling to .NET or JVM targets. So No, Pascal is not obsolete.

Pascal's best feature is the one I use most : I use Pascal as a Pseudo-language :-) , to design s/w, and I sometimes show it to my customers. The readability of Pascal to technically-trained professionals but not computer scientists is one of its best features. Sometimes, I don't deploy Pascal : it gets finally translated into another language for final executable production. However, the overall net result is positive : better communication, better design, better performance, less anomalies, if only because of the translation.

Best regards,
Thierry

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to