If you want an easier to understand and maintain API: avoid naked integers.
Tag: code review
A survey of concurrency bugs
Concurrency is hard. Multithreaded code is hard. This post surveys common concurrency related bugs and outlines possible solutions.
Stopping Bugs: Code Reviews
Code reviews are a critical best practice in our never-ending battle to stop bugs.