The Saff Squeeze seems like an underused technique, possibly because people want to see more examples before they try it for themselves. Here is an example o...| blog.thecodewhisperer.com
Programmers routinely become stuck in the Advanced Beginner stage of refactoring because they are trained to worry about overdoing it, so they underdo it and...| blog.thecodewhisperer.com
No, tests aren't supposed to make refactoring _easier_; they make refactoring **safer**. Sometimes, by accident, they do both.| blog.thecodewhisperer.com
Debug with automated tests: it's systematic, it leaves a record of what we've learned, and it's boring in the best possible ways.| blog.thecodewhisperer.com
Many programmers struggle to adopt TDD because they put pressure on themselves or because some commentators try to shame them for their imperfections or beca...| blog.thecodewhisperer.com
TDD is for those who don't know how to design software, which doesn't have to mean that we're all dopes who are doomed to perpetual failure. Let's explore th...| blog.thecodewhisperer.com
A guard clause might be an embryonic parser, so what happens if you nudge it in that direction?| blog.thecodewhisperer.com
It's easy to give the instruction to **reveal intent**, but harder to provide helpful examples. I'd like to provide a tiny one that illustrates the point qui...| blog.thecodewhisperer.com
When you notice that you need| blog.thecodewhisperer.com
Let's look at a simple example of a name. Let's judge the name (kindly!), then imagine some likely next steps in refactoring. We can learn and do quite a lot...| blog.thecodewhisperer.com
The stronger your refactoring skill, the more easily you can use architecture advice as guidelines instead of as rules to enforce. This makes it significantl...| blog.thecodewhisperer.com
Just another little example of two people looking at a situation, one seeing a problem and the other seeing a solution.| blog.thecodewhisperer.com
UPDATE. It’s 2023 and although I still broadly agree with the content of this article, I don’t like the style of it any more. I find it too abrasive and judgmental. I’m sorry about that.| blog.thecodewhisperer.com
"TDD or BDD?" or "Functional Tests or Unit Tests?" Write any tests! The more clearly you understand the purpose of those tests, the more these apparent dilemmas will fade into the background.| blog.thecodewhisperer.com