Roedy Green skrev:
Have you read the book? Were in there on BIX when Stroustrup dropped
by for a month or two?
I have read the book and numerous articles from Bjarne describing the
evolution of C++.
Stroustrup wrote a book about his trials designing C++ called the
Design and Evolution of C++ with a sprouting oak tree on the cover. He
was heavily constrained by his committee of C users who insisted on
strict upward compatibility. The language was designed and implemented
a bit at a time. He was never permitted to have a reintegration/tidy
up phase.
So tell me - where was that committee insisting on strict backward
compatibility?
What was those trials Bjarne faced?
What tidy up phase was he forbidden to have?
I felt much better about C++ knowing at Stroustrup was on my side in
wanting a cleaner language. It was just he was not forceful enough to
persuade his committee of bosses focused on the current job (which was
not designing a new language) of the need.
When did Bjarne try to persuade his "committee of bosses" to let him
write a cleaner language?
If anyone would care to spend just a few minutes at his website, they
would find your description at best grossly misleading. As I said
before, I see it as a bloody lie.
Just a few quotes from Stroustrups homepage:
(Would he rather have created something like Java?)
No. Java isn't even close. If people insist on comparing C++ and Java -
as they seem to do - I suggest they read The Design and Evolution of
C++ (D&E) to see why C++ is the way it is, and consider both languages
in the light of the design criteria I set for C++. Those criteria will
obviously differ from the criteria of Sun's Java team. [...]Much of the
relative simplicity of Java is - like for most new languages - partly
an illusion and partly a function of its incompleteness.
(About comparing C++ to other languages)
[...]That said, I consider C++ the best choice in programming language
for a wide variety of people and applications.
(Are there features Stroustrup would like to remove from C++?)
Not really. People who ask this kind of question usually think of one
of the major features such as multiple inheritance, exceptions,
templates, or run-time type identification. C++ would be incomplete
without those. I have reviewed their design over the years, and
together with the standards committee I have improved some of their
details, but none could be removed without doing damage.
/Peter
Interesting read, but in fairness that's like asking James Gosling what he
thinks about Java vs. C++ (you'd get an equally biased opinion). Nobody's
refuting C++ is better for some things and has features that are superior to
the way Java deals with the same problem. It's just that it can be turned
around on other language features and be just as valid.
What bothered me is the apparent superiority complex of some C++ fanatics
involved in this thread as well as having most replies focused on
undermining the opinion of someone rather than come up with technical
arguments for either case. Any notion that the ability of a developer is
directly related to the complexity of the language they're familiar with is
a bit naive in my opinion. C++ definately is more complex, definately
requires more knowledge to produce results the same results and definately
gives you more control. The point of discussion is whether or not those
points are advantages or disadvantages (or just features that thrive in
certain situations/applications, and are completely in the way in others).
Oh and by the way, i forgot exactly who did so, but somehow deriving the
quality of the average Java programmer by the quality of the questions asked
in a newsgroup is retarded. A larger part of the people that get into
software development nowadays will go for Java (or any other "new" language
like C#) rather than C++, so it's pretty reasonably to assume more "noob
questions" end up on Java and C# forums compared to the C++ one. An actually
interesting statistic would be to see how many people moved from C++ to Java
and vice versa. That would average out any language fanatics either way. And
whether or not said beginners made a good language choice will probably
always be a point of hot debate, but i suppose they have the employment
market in their favour.