On Wed, 15 Sep 2004 22:09:24 +0100
John Lamb
I was just being ironic. Java is a moralistic language and insists on using final instead of const to avoid the oxymoron of a constant variable; so I think it ought to use asynchronized instead of synchronized to avoid the oxymoron of a synchronized block that cannot be run at the same time as any other synchronised block. I think that comparing C++ to Java is really not productive. They are both good languages. If I were running a group that has products written in one of those languages, I would probably chose that language because all the expertise in my group is in that language, unless there is an overriding need to use another language.
But, if I were creating a totally new product, then I would look at what
language best suits the task at hand. This is a bit mealy-mouthed, but
IMHO, both C, C++, and Java are good languages. Each language has some
features that are "better" than the other languages at least in some
contexts.
--
Jerry Feldman