Re:Why hasn't D started to replace C++
by jstewartmobile on Wednesday January 31, 2018 @03:58AM
(#16272501)
Fair enough, but how many train wrecks did you have to witness to come to that conclusion?
Hehe... in my case there was some oscillation between C and C++ before eventually converging to C-style C++. To each his own. I even heard of people who thought Boost was a good thing, but I suspect someone was making a joke.
Re:Why hasn't D started to replace C++
by AstralStorm on Wednesday January 31, 2018 @11:45AM
(#16275194)
Boost is being surpassed by new standards though. Most of the truly and widely useful stuff from boost is being reimplemented in a much cleaner way for standard library.
It can be considered proving ground.
Just stick to 'struct's instead of 'class'es, use ctor/dtor for RAII, pure virtual functions to declare interfaces and single-level inheritance to implement them and, perhaps, an occasional template to replace a macro - and you still basically have C, but it's now far less verbose and more pleasant to use.