Re: The Positive Legacy of C++ and Java
Posted: Mar 19, 2009 9:48 AM
> Dare I say that C++ programmers who took to Java with such
> enthusiasm were maybe not writing that good C++ in the
> first place. Their inappropriate or overuse of manual
> memory allocation in C++ was translated into normal syntax
> in Java.
I am reminded of the Dilbert where Alice is getting her review from the Pointy-Haired Boss:
Pointy-Haired Boss: "Your biggest defect continues to be your inability to handle criticism."
Alice (thinks to self): "I can't argue with his stupid misperception without proving it true."
Pointy-Haired Boss: "And you argue with people who are much smarter than yourself."
Alice (unable to hold it in): "GAAA!!!"
At any rate, I asked the questions that I did because I see fewer and fewer problem domains that are adequately addressed by lower-level languages than Java/C# etc. By lower-level, I mean languages that are old enough to not provide facilities that are commonly expected today, such as garbage collection, intrinsic support for thread safety and concurrent programming, a well-integrated run-time type system, an exhaustive standard class library, etc.
So I have a different question for you, since you brought up the supposition that people fled to Java because it was too hard for them to "write good C++ in the first place" .. do you think it is naturally more difficult to write good C++, and do you think that is a good characteristic or something to be avoided in a language? ;-)