4 ms·
> You can abstract yourself in a corner in C as well. It's much, much harder to do than in C++. It's also much more obvious when it happens, and in collaborati
by grive 10y ago
> You can abstract yourself in a corner in C as well.
It's much, much harder to do than in C++. It's also much more obvious when it happens, and in collaboration others will spot it quickly.
His tone is harsh but I find it completely right. I prefer to use C at work exactly because the same kind of software would be an absolute nightmare to write in C++ (it is very low-level soft, extremely similar to kernel code).
C++ is good if you can enforce very strict guidelines and if every single programmer that contributes to the code is very good at C++. Those are pretty big if, especially if you work with a partially open source codebase.