Rolf Howarth commented:
| That's true of course. But templates (and even worse, operator
| overloading - uuggghh!) make it that much easier to write poorly
| designed code, and to write code which is difficult to understand.
No argument there. With power comes responsibility, and C++ gives you
a lot of power, assuming that the programmer has the discipline and
knowledge to use it properly.
This misses the point, I think. There is a good reason why decent
languages have to be, too some degree, restrictive of your "power".
Because although flexibility might be useful for some, it is usually a
bad bad thing in general. Because as coders we don't live in a void
--- we have to interoperate with other coders, most of whom have, I am
sad to say, atrocious coding style. Sure C++ gives you more ways to do
X. But as a result you have to deal with coders who all decided to do
X the wrong way. Now you have to store ALL ways, good and bad, to do
X, in your head. I for one could use those neurons for something more
useful.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden