Learn how the C++ RAII idiom enables better code with reduced maintenance overhead.
Favorite Tricks: Static Assert
One of my favorite software development "tricks" is making frequent use of any "static assert" feature provided by the compiler. This trick's primary benefit is in moving certain error conditions to compile-time rather than run-time. Embedded software engineers would be wise…