Re:Parody of an interview with Bjarne Stroustrup, the creato...
by kingkongrevenge on Wednesday January 28, 2009 @06:32PM
(#455433)
C++ has many flaws. Let's have a C++ bashing party, hooray. However, a discussion of the merits of C++ boils down to C++ vs C as far as getting things done in the real world and in the domains where C++ and C are applicable. C is absolutely horrible. I cannot imagine why anyone would start a new program or module to a higher level language in C rather than C++. It's like choosing BASIC over a modern scripting language.
[ Parent
| on HN ]
Re:Parody of an interview with Bjarne Stroustrup, the creato...
by ii on Wednesday January 28, 2009 @09:42PM
(#455673)
why anyone would start a new program or module to a higher level language in C rather than C++
Linus gives very good reasons for C vs. C++ here: http://thread.gmane.org/gmane.comp.version-control.git/57643...
I personally don't have anything against C++, it is a perfect solution for some problems, but sometimes C may be a better choice.
Re:Parody of an interview with Bjarne Stroustrup, the creato...
by kingkongrevenge on Thursday January 29, 2009 @09:10AM
(#456342)
This is a silly rant. All he really says is that too many C++ programmers have bad taste, in his opinion.
C++ is objectively a far more powerful and expressive language than C.
Re:Parody of an interview with Bjarne Stroustrup, the creato...
by lliiffee on Thursday January 29, 2009 @09:56AM
(#456393)
I largely agree with you. If I "hate" C++ so much, why do I program in it? The answer is that sometimes I need my code to be very fast, and C++ has language features making abstraction easier than C or Fortran. I think the main reason people choose C instead of C++ is that it is common to overuse C++'s language features, and if you target C, this is impossible. Otherwise, just take "new" and "delete" and write the rest of your program in C...