News for hackers. Stuff that matters.
Re:All software sucks (2011) by xamuel on Thursday August 30, 2018 @09:29AM (#17876502)
C is a better alternative to C++ for many applications. If it weren't, it wouldn't still be so widely used.
Re:All software sucks (2011) by xroche on Thursday August 30, 2018 @09:33AM (#17876524)
It's still used today because (1) of historical code and (2) the fact many people are fluent with it (including me). But this is a terrible languages in most cases.
Re:All software sucks (2011) by xamuel on Thursday August 30, 2018 @09:35AM (#17876536)
C is relatively simple, C++ is so complex practically no-one understands all of it. Many C++ features are "OOP kool-aid" and do more harm than good (if people would just realize you can pass around pointers to C struct's, which is all the "object orientation" necessary for 99% of the software in the world)
Re:All software sucks (2011) by self_awareness on Thursday August 30, 2018 @09:37AM (#17876561)
You can do in C++ everything you can do in C. You don't need to use C++-specific stuff.

Also, using your logic, C constructs are nothing more than just assembly with more overhead. Why not just use assembly instead? Answering this question will probably answer your question about OOP stuff.

Re:All software sucks (2011) by xamuel on Thursday August 30, 2018 @09:55AM (#17876710)
>You can do in C++ everything you can do in C.

By that logic, we should all use "omniglot", one language in which all the top 100 languages are first-class supported. What could possibly go wrong :D

Re:All software sucks (2011) by pjmlp on Thursday August 30, 2018 @10:47AM (#17877161)
I guess you mean UNCOL.