LWN.net Logo

Cisco becomes a major Linux server vendor overnight (cnet)

Cisco becomes a major Linux server vendor overnight (cnet)

Posted Oct 8, 2009 23:47 UTC (Thu) by qg6te2 (guest, #52587)
Parent article: Cisco becomes a major Linux server vendor overnight (cnet)

How I wish people would stop using the term "C/C++" and instead separate it into "C, C++". Just because C++ has most of C in it, it doesn't mean a C coder can write good C++ programs. In fact, they're two different beasts, with C++ slated to pick up yet more features.


(Log in to post comments)

C and C++

Posted Oct 9, 2009 1:15 UTC (Fri) by ncm (subscriber, #165) [Link]

Hear, hear! Writing "C/C++" outside the context of "easily called from" demonstrates ignorance.

C and C++

Posted Oct 9, 2009 6:46 UTC (Fri) by simlo (subscriber, #10866) [Link]

Actually, at the company I worked before people meant "C++", but just said "C".

C and C++

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

I know people who do the opposite. As in 'the Linux kernel is written in C++'. No, it isn't.

C / C++

Posted Oct 9, 2009 7:19 UTC (Fri) by dwmw2 (subscriber, #2063) [Link]

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.

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