LWN.net Logo

C / C++

C / C++

Posted Oct 9, 2009 7:19 UTC (Fri) by dwmw2 (subscriber, #2063)
In reply to: Cisco becomes a major Linux server vendor overnight (cnet) by qg6te2
Parent article: Cisco becomes a major Linux server vendor overnight (cnet)

The trick to writing good C++ programs is not to use most of the features of the language.

There are those who say that the best C++ programs are written in C, with a tiny smattering of C++.

So I think it makes sense to lump them together.


(Log in to post comments)

C / C++

Posted Oct 9, 2009 7:46 UTC (Fri) by michaeljt (subscriber, #39183) [Link]

Hear hear hear. But it takes an expert to know what to use and what to leave.

Expert without quotes

Posted Oct 9, 2009 22:05 UTC (Fri) by man_ls (subscriber, #15091) [Link]

And, if LWN comments are to be trusted (we know they are), every expert will recommend using somewhat overlapping but subtly different feature sets.

Expert without quotes

Posted Oct 9, 2009 22:50 UTC (Fri) by nix (subscriber, #2304) [Link]

Stroustrup's _The Design and Evolution of C++_ actually touts that as a
*feature*. I'm not so sure. It sounds nice until you have to look at a
project written by someone else...

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds