Cognitive biases in code ... or why smart developers write silly bugs

Psychology has studied cognitive biases for decades, but in software engineering we rarely talk about them, even though they affect everything from architecture to debugging to reviewing. We make decisions that feel rational but are really the result of shortcuts our brains take to save energy.

The previous chapter was all about anchoring bias, which makes us cling to the first idea we come across. This...
It works on my machine. This might just be the original example of bias that we, developers, just can’t seem...