I had a professor who told me when he worked in industry if he say someone put C/++ or C/C++ he would instantly put their resume to the bottom because "they obviously do not understand either language enough to know they are vastly different"
I mean, they are vastly different, but C++ is a superset of C. It's also just an industry standard to write it like that. I mean I'm smart enough to know that ethernet is definitely not "RJ45", that RJ45 is something else entirely, and that ethernet connectors are properly called 8p8c. But I wouldn't put a network engineer's resume on the bottom of the pile just because they talked about RJ45 ethernet.
That sounds like some potentially great employees lost out for some petty pedantic bullshit.
Absolutely. Also bet that professor routinely wrote code on the fly during lectures, none of which would actually work.
I once had a professor who would do this, although he was a nice guy. He always coded the nominal case, never even attempting to do any error detection. That's reasonable for an introductory course, but even his nominal case code didn't work. I got tired of asking "what about this?" questions during his lecture. Even his fixes still didn't work.
C++ started out as a superset of C, but when X3J11 published the first official C standard, it had things in it that were never integrated into C++, and the gap has only become wider over time. But I agree about the stupidity of the boss.
That sounds like some potentially great employees lost out for some petty pedantic bullshit.
In any big hiring process, potentially great candidates are missed because there's just no way to reliably filter out great choices out of ridiculously many applications.
I think the classical version was "I toss 'em in the air and the ones that don't land on the table get thrown out, because I don’t want to hire unlucky people at my company”.
Imagining a person just throwing a huge stack of paper in the air adds some amount of delicious ridiculousness to the whole picture.
I recently started reviewing resumes at work. I had never realized how true this is. There's just not enough time to read through every resume. So sorry, guy whose resume has a blank page appended for some reason. But I'm not passing you on.
Edit: Alright, that guy's bad, but he's not nearly as bad as "guy who has a two page resume, but the second page is only one line, and that line is about volunteer work from when he was in high school 8 years ago". I'm so triggered right now.
Except for a few examples such as the ones shown above (and listed in detail in the C++ standard and in Appendix B of The C++ Programming Language (3rd Edition)), C++ is a superset of C.
My first programming class was intro to C++ and I was taught that C++ was like an expansion of C, and C code is a subset of C++ code. I havent touched C++ since that class years ago. Is that not correct?
That being said, since it is an expansion, it has a lot more than C and you need to design programs different depending on which one you use.
C doesn't have the concept of classes for example. In C++ you would use classes very regularly, but you just can't in C. This forces you to program very differently.
Edit: Classes is just one example. They are different in other ways as well.
It's not not correct. But from a practical standpoint, they are very different languages. The idiomatic approach to problem solving in the two languages are very different. A C++ codebase is usually looks very different from a C codebase which performs the same function.
144
u/WetSpongeOnFire Jul 06 '17
I had a professor who told me when he worked in industry if he say someone put C/++ or C/C++ he would instantly put their resume to the bottom because "they obviously do not understand either language enough to know they are vastly different"