This is not a history lesson.  This is not about which is better.  I won’t bore you on why they’re different since that’s one thing you will see online.  What you won’t see, often, are tutorials, articles and job ads labeled “C” without the plus-plus. People tend to associate the two to a fault, which is a shame because both programmers and employers should know better.  C++ is an alternative way of thinking in context to C.

C++ is like that cousin who was always cool because you two were into the same stuff.  But when you get right down to it, that cousin is definitely not you and vice-versa.  Just because they’re similar, doesn’t mean they are indistinguishable, cut it out.  Take this classic example:


int main()
{
std::cout << “Hello, world!\n”;
}

is != 

int main()
{
printf (“Hello World!\n”);
}

Now say I was an Impatient Programmer who really just wants to write in C, then what is and isn’t good coding practice is going out the window in some C/C++ tutorial full of C++.  This is due to the fact that eventually I’ll just be trying to convert the C++ I barely understand (or care about) to C, by any means.

If you’re a Patient Programmer, and you write tutorials (which, by definition makes you a very patient person) then you have your text in blocks tailored to both audiences, as hinted in your title which contained that infamous “C/C++”.   You’re a kind and understanding person.

Naturally some people will disagree, you might say C programmers should be able to understand C++ since you know, C/C++ duh.  Think about this, do you use Yahoo or Google?  How about, do you use Yahoo/Google?  Is that the same question?  How often do you get the same results?

- Doop

Don’t Miss: The Impatient Programmer

Facebook Comments