News for hackers. Stuff that matters.
Re:Confession Of A C/C++ Programmer (2017) by flohofwoe on Monday January 25, 2021 @11:09AM (#25904805)
"C/C++" is a valid term for the common subset of C and C++. Even if both are different languages, it's possible to write code which is both valid C and valid C++ (but is a subset of both languages). Usually the goal when writing "C/C++" is to write C code that also compiles in C++ compilers (and this, contrary to popular believe, is a very restricted subset of C, and is almost a 3rd language).

Also, what else would you call yourself if you write both lots of C++ code (for the job) and C code (for fun) ;)

Re:Confession Of A C/C++ Programmer (2017) by zabzonk on Monday January 25, 2021 @11:13AM (#25904857)
I would call myself a C and a C++ programmer. If I also wrote Java (which I do), I would call myself a C, C++ and Java programmer.