Angus McPresley
Muse
- Joined
- Jan 30, 2006
- Messages
- 641
The original poster asked for some hard data, and all he got was more unsupported opinions in reply.
So, let me add mine.
C and C++ give you too much rope to hang yourself. It's too easy to write bad, leaky, unmaintainable code using them. They're fine if you have people who can write them well, and are willing to stay with the company and support the code, but that's almost never the case. Yes, you can certainly write bad Java, but it's not as easy.
(This is the point where I should mention that I won the International Obfuscated C Code Contest six times. Not because it's that relevant to my argument, but just because I bring it up every chance I can, for reasons that I'm still working out with my shrink.)
I saw Bjarne Stroustrop speak at a C++ World convention, and he was asked about the C++ vs Java question. His response was basically, "If you look at everything that C++ set out to achieve, well, it pretty much achieved it. If you look at what Java set out to achieve (security, etc) and compare it to how it actually did, well, it doesn't fare too well." Everyone nodded, myself included, but afterwards I thought about it. By that argument, might not COBOL be a better language?
So, let me add mine.
C and C++ give you too much rope to hang yourself. It's too easy to write bad, leaky, unmaintainable code using them. They're fine if you have people who can write them well, and are willing to stay with the company and support the code, but that's almost never the case. Yes, you can certainly write bad Java, but it's not as easy.
(This is the point where I should mention that I won the International Obfuscated C Code Contest six times. Not because it's that relevant to my argument, but just because I bring it up every chance I can, for reasons that I'm still working out with my shrink.)
I saw Bjarne Stroustrop speak at a C++ World convention, and he was asked about the C++ vs Java question. His response was basically, "If you look at everything that C++ set out to achieve, well, it pretty much achieved it. If you look at what Java set out to achieve (security, etc) and compare it to how it actually did, well, it doesn't fare too well." Everyone nodded, myself included, but afterwards I thought about it. By that argument, might not COBOL be a better language?