At 11:20 16/06/2006, you wrote:
> > > 5. Associative/anonymous classes (like in script language).
No way. Why completely change the pascal OO semantics for doing
something that can be done already in other ways and that can be done
on enviroments that was really meant for it (i.e. JavaScript) ?
Are You just fancy using 'begin..end' ? ;-)
The problem with many suggestions is what i said in a past message in
this thread, Pascal is an engineered langage, C ia a patch language.
When you need a new language construct (not a new class or data
structure, please don't confuse such terms) you can do two things :
a) Use the previous well designed language constructs
b) Try to create a new one from the ground
The first is the pascal (and others) way the second is only a pacth
to the language. Of course there are always new language constructs
that need to be added and only can be done from the ground, but we
must study it carefully, is it really a new construct, can it be done
using previous constructs, is it only a 'less-write' construct?
For example, adding 'aspect programming' paradigm to pascal is a new
construct that needs be create from ground (although it has code in
common with OO), but a 'Hash btree' is just a class/unit or 'foreach'
command a less-write construct of a for.
Almost all suggestions in this thread (and the previous one) reinforce
my opinion on why many people dislike Pascal: they are lazy bastards!
Most of my colleagues which prefer C++ or Java over Delphi complain
that in Pascal you have to write too much, but they don't accept that
this is straight laziness. But at last, last week a new guy in my
workplace cited as the first reason for him to adore C++ was it is a
nice language for lazy programmers/typers.
Obviously these guys don't care about code readability (not news) and
never had to care about code maintanability :-/ (I presume they don't
like to code at all =P )
I have to admit that doing more typing probably must feel to some like
unnecessary and unneffective, but I absolutely positively doubt anyone
can be more productive in C++ or Java than in Object Pascal (or in
VisualStudio, Eclipse or JDeveloper than in Lazarus or Delphi).
What really puzzles me is how C++ could end so strongly supported on
so many levels.
There is an interview with one of the c++ designers, a joke
interview, he says that in 70's and early 80's c programmers were
like gods, only a few can program in c, it was an elite programming
language, their salary were astronomic but in late 80's and early
90's a boom of c programers appear, all universities flood the
programmer market with c programmers, if you lift a rock, there is a
c programmer, so the programming gurus need to do something, and
create c++ appear. It have a good marketing and was fast adopted as a
standard language, again the gurus of programming can have good
salaries and dominate the programming world. It's not a real
interview, of course, but explain a lot of things about the 'C
culture'. Be cryptic, don't let anyone know how you did it, other
programmers are the enemy and can steel your position and remember,
you must be esential in future development.
------------------------------------------------------------
Alien.org contacted... waiting for Ripley
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives