Hacker News new | ask | show | jobs
by DeathArrow 1489 days ago
> If C++ is available, I agree one should use it,

C is very simple, while C++ is a monster with 100 heads, each speaking in another language.

If all members of a project use the same subset of C++, then yes, it would be preferable over C. But if anyone or any team in a large project uses whatever he wants, things can get pretty complicated, pretty fast.

2 comments

In C, whenever any part of the creature needs to do some thinking, it grows its own small head to do just enough thinking to get by, and then goes about its business. The process is simple, but the result is often Cthulhic.
If the team doesn't care about code reviews, static analysis and automatic formating tools on PR merges, surely.