Golden Rule:
If you can't trace a piece of code back to making an acceptance test pass, remove it.
Golden Rule:
If you can't trace a piece of code back to making an acceptance test pass, remove it.
Tomorrow I will join you, cya soon
Highly recommended reading, with a lot of Lean and systems thinking stuff... "Coding Practices Are So the Wrong Focus" flowchainsensei.wordpress.com/2025/06/23/c...
I will see you there :)
Fight complexity! It creeps in if you don't actively resist. Keep it simple! #programming #xp
I Love the smell of deleted code
Why refactor? To reduce volatility in the marginal cost of features.
We can see this as a socially acceptable way of saying "to express love", especially in a job context.
What would happen if we embraced this idea? Why don't you embrace this idea now? What obstacles stand in your path?
It's common for legacy code to have deeply nested statements
They make code harder to read/think about (cognitive overload) ๐ตโ๐ซ
Did you know "Guard Clauses" can help you simplify these? The key is to return early on exceptions, unnest the happy path ๐
Here's an example in JavaScript ๐