Hacker News new | ask | show | jobs
by lelanthran 53 days ago
> For any greenfield project, pick up C++ in lieu of C if you want a C language.

Depends on the metric.

1. If the metric is "How many features can I have", then, sure, C++ wins - it has everything.

2. If the metric is "how few footguns are there", then C++ loses by a mile - there's too many ways that the different features from #1 above can interact with each other to make it viable to keep track of all the footguns when writing code.

You may not value having fewer footguns and/or lower cognitive burden, but many do.