Keep public header files clean. Clean header files are easier to understand, improve build times, and simplify unit testing.
Category: Favorite Code Tricks
Code maintenance: enums and lookup tables
An enum combined with a lookup table presents a unique code maintenance concern. Learn more in this post.
A survey of concurrency bugs
Concurrency is hard. Multithreaded code is hard. This post surveys common concurrency related bugs and outlines possible solutions.
Unit Testing of Active Objects and State Machines
How do we unit test an active object or state machine? This post explores techniques for successful unit testing of modules driven by state machines.
UML Statechart tip: Be wary of exit-state behavior
Be wary of exit-state driven behavior when designing for UML statecharts.