Hacker News new | ask | show | jobs
by sfifs 2400 days ago
C/C++ are never better options because of the number and sheer variety of undefined behaviors, manual memory management and ways to shoot onself on the foot. It's something to use when there's no other choice (legacy code base, embedded systems - though this is also moving to higher level languages).
1 comments

I promise you they are. There's a reason why over 90% of the programs you invoke or interact with on a daily basis are written in C.
Yes. Most of them are evolutions of legacy code bases and that's why they're also security nightmares.

If you're building anything new it's very hard to make a valid case for coding in C. You're almost always better off working in Rust, Java, Swift or Go