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.