On 6/15/06, Alexander Todorov <[EMAIL PROTECTED]> wrote:
This one might be interesting - History of computer languages:
http://www.digibarn.com/collections/posters/tongues/ComputerLanguagesChart.png
As you see, with creation of Object Pascal the Pascal language is
absolutely finished and there is nothing more to be added to it.
I'm not sure that is right...
I'm missing few things in Object Pascal, that might be good to have:
1. class that can have more then one object as it's parent (at this
moment you can only do so in C++, and on OPascal you can have multiple
interfaces for properties).
2. Powerful containers for class usage such as class X requires class
Y that uses class X (yea bad coding style most of the times, but can
help in many things).
3. Better/Faster IO usage ;)
(not really an Object pascal issue)
4. The amount of classes that comes with Java as part of the compiler :P
(not really an Object pascal issue)
5. Associative/anonymous classes (like in script language).
6. "inline" code inside class (like in C++/Java).
7. Build in regex syntax like in Perl, Ruby Javascript.
8. Templates. (there is something that is cooking)
9. Hashes (associative arrays) -> Yes there are classes that mimic
that behavior, but I'm looking for something more native.
10. The infamous support of "..." for "infinite' parameters (You can
make open array's to work like that).
And I had more things on my list I just don't remember all of them at
the moment ...
BTW almost the same is the situation with C (besides different
standards), but its popularity is due to many big companies promoting
/ using C.
There is the D language and other mutant of that language that suppose
to be better...
Borland is one company that provides commercial pascal compilers I
haven't heard of others. Once upon a time Apple have used Pascal to
develop their operating systems.
Compare that with the numerous list of companies selling C/C++
compilers, computer giants like HP, Compaq, IBM, etc... that provide
their own Unix based OS and you will find why C is so popular.
The discussion Pascal vs C, or any other language is obsolete.
Nowadays almost everything can be written in almost every language.
I've been on all the discussions, many people feels like there is some
power that exists on C/++ and is not given in Pascal (that's the
people that worked with TP, and moved to C that usually claims that).
Others just don't know Pascal, and the arguments does not help :(
Pascal today have almost everything C have to offer and many of what
C++ and Java have to offer in a better package, but with lack of
marketing...
We need the chief marketing people of Microsoft to "sell" Pascal to
the public :)
Ido
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives