Re:How to write good code with C++11
by halayli on Monday February 27, 2012 @02:56AM
(#3638164)
I would really like to see Bjarne and Linus debating C++ & C.
[ Parent
| on HN ]
Me not really - Linus' critique of C++ had few points that could be rationally debated. A much better researched critique of C++ by Yossi Kreinin is here: http://yosefk.com/c++fqa/
And yeah, I'd much better like to see Kreinin than Linus in a C++ debate.
Re:How to write good code with C++11
by loup-vaillant on Monday February 27, 2012 @03:49AM
(#3638267)
I personally enjoyed reading the FQA, and even learned about some C++ "subtleties" in the process. I note however that the FQA itself has its share of criticism. http://stackoverflow.com/questions/3171647/errors-in-c-fqa
Re:How to write good code with C++11
by JoachimSchipper on Monday February 27, 2012 @09:10AM
(#3638990)
When reading this rebuttal, keep in mind that it was written in 2010 while the FQA was written starting in 2007, and apparently based on the author's experiences with much older tools. All other things aside, if your compiler frequently miscompiles templates, using them is probably not a good idea.
Re:How to write good code with C++11
by loup-vaillant on Tuesday February 28, 2012 @04:09AM
(#3642492)
I agree. Also, C++11 probably makes a good deal of the FQA less relevant (except with regards to the sheer complexity of the language).
Also, I still agree with the basic premise of the FQA: for the majority of new projects where C++ is used, C++ is not the best tool for the job (not taking into account programmer expertise, though even then…).
Re:How to write good code with C++11
by TorKlingberg on Monday February 27, 2012 @04:46AM
(#3638399)
Both would be interesting. The FQA is mostly criticizing C++ as compared to Java or C#, while Linus prefers C.
No. I'd rather like to see Linus talk about Linux (or git) and Bjarne talk about C++. That would be far more interesting than having them fight a flame war over such a silly issue as C vs. C++.