Pedro M Santos
banner
pedromsantos.bsky.social
Pedro M Santos
@pedromsantos.bsky.social
I'm. #softwarecrafting #technicalcoach #author https://leanpub.com/agiletechnicalpracticesdistilled #jazzguitar http://youtu.be/F86p08DDlS0
Golden Rule:

If you can't trace a piece of code back to making an acceptance test pass, remove it.
September 22, 2025 at 4:48 PM
Reposted by Pedro M Santos
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...
June 23, 2025 at 6:27 PM
Reposted by Pedro M Santos
Fight complexity! It creeps in if you don't actively resist. Keep it simple! #programming #xp
March 6, 2025 at 12:23 PM
I Love the smell of deleted code
January 20, 2025 at 9:10 AM
Reposted by Pedro M Santos
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?
November 12, 2024 at 6:42 AM
Reposted by Pedro M Santos
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 👇
November 5, 2024 at 12:28 PM