2 ms·
> Dear C++ programmers: follow this! (with exceptions accordingly) These strict C++ programming guidelines apply only to embedded and safety critical programmi
by exDM69 14y ago
> Dear C++ programmers: follow this! (with exceptions accordingly)
These strict C++ programming guidelines apply only to embedded and safety critical programming and the programs that are being written work under a very restricted runtime environment and with a less than state of the art compiler.
So if you're a regular application programmer working with C++, feel free to ignore most of these rules. Modern compilers and runtimes will work nicely with most of the stuff forbidden in these guidelines.
- raverbashing 14y agoTrue, but not most rules There are some limitations there relating to embedded systems (for example, they explicitly forbid the use of atoi because obviously you want to be sure of no undefined behavior while flying at Mach 2 at 20kft) For example, section 3 are very general good rules Av Rule 84/85 are very relevant as well (just an example) It's very easy to exaggerate when using C++ and hence some limits are needed.