Comment Re:Answer (Score 1) 336
C++ is not C. C++ written like C tends to be crap code
You might want to avoid flying on commercial airliners then, because they have lots of avionics systems running C++ code exactly like that, with exceptions explicitly banned. Countless other embedded systems are the same way.
*shudder* Are avionics really written in C++?
never, ever, worrying about cleaning up at the bottom of a function what you allocate at the top.
In these embedded systems, the "delete" keyword is also banned. You're never allowed to free memory once it's allocated.
Is memory deterministically pre-allocated in such systems? That would certainly make it safer, but less flexible.