News for hackers. Stuff that matters.
Re:Why hasn't D started to replace C++ by thesmallestcat on Wednesday January 31, 2018 @12:35AM (#16271684)
But C doesn't have virtual functions or inheritance either.
Re:Why hasn't D started to replace C++ by jstewartmobile on Wednesday January 31, 2018 @01:25AM (#16271926)
Which isn't that much of a problem. When that approach is truly called for, you can fake it well enough in C with function pointers and macros. I know that isn't easy. If it makes you think first, sometimes "not easy" is a net positive. With "easy" OOP, the typical result was a wad of tightly-coupled classes that were difficult to enhance or reuse.

C++ jammed so many different concepts into the built-ins, catering to all yet pleasing none. Last I checked, exceptions were still kind of a mess. Places I know that still use it have their own peculiar commandments as to what is halal and what is haraam. I do not blame them.