News for hackers. Stuff that matters.
Re:Teaching C (2016) by geezerjay on Tuesday October 30, 2018 @08:49AM (#18335985)
> People keep saying this, but the difference is comparable to Perl5/6 or Python2/3 - you can construct programs that are valid in both, and there's a big overlap of concepts and syntax.

There's more overlap wrt mental models between C#, Java and C++ than there is betwern C and C++. Being able to compile code in both languages means close to nothing if a developer can't understand how a project is structured and how a component is supposed to work.

Re:Teaching C (2016) by kazinator on Tuesday October 30, 2018 @02:48PM (#18340095)
I would say that being able to compile code in one language means close to nothing if a developer can't understand how a project is structured and how a component is supposed to work.

Thus, the observation doesn't inform the debate about C and C++ overlap.

Re:Teaching C (2016) by geezerjay on Wednesday October 31, 2018 @06:33AM (#18344543)
Obviously it does. Sharing some common syntax means zero if a developer versed in C++ can't do anything in a C project.