Re:Criticizing the Rust Language, and Why C/C++ Will Never Die
by vowelless on Tuesday May 12, 2015 @11:32AM
(#9532500)
You have to be a little smart about C++. Avoid using anything dynamic (including exceptions, dynamic casting, etc).
[ Parent
| on HN ]
Re:Criticizing the Rust Language, and Why C/C++ Will Never Die
by outworlder on Tuesday May 12, 2015 @11:49AM
(#9532617)
Basically, avoid using C++, except for <insert list of features here>.
The way Qt does is actually quite pleasant to work with, but they avoid most language features and roll their own (QObject, I'm looking at you), even including their own preprocessor.
Re:Criticizing the Rust Language, and Why C/C++ Will Never Die
by astrodust on Tuesday May 12, 2015 @12:04PM
(#9532705)
C++ gives you more than enough rope to hang yourself. Like a chainsaw, it's very powerful, but also extremely dangerous.
It's sad they don't teach C++ properly any more. The stuff I see leaking out onto Stack Overflow from courses is shamefully bad.