← Back to context

Comment by dcre

3 hours ago

I suspect most developers do not know C.

C is fine C++ is where they jumped the shark

  • C++ is far better than C in very many ways. It's also far worse than C in very many other ways. Given a choice between the two, I'd still choose C++ every day just for RAII. There's only so much that we can blame programmers for memory leaks, use-after-free, buffer overflows, and other things that are still common in new C code. At some point, it is the language itself that is unsuitable and insufficient.

  • C++ explored a lot of ideas that some modern languages borrowed. C++ just had to haul along all the cruft it inherited and built up.

  • No, C is not fine. It is a really bad language that I unfortunately have to code professionally.