Pedro M Santos's Avatar

Pedro M Santos

@pedromsantos

I'm. #softwarecrafting #technicalcoach #author https://leanpub.com/agiletechnicalpracticesdistilled #jazzguitar http://youtu.be/F86p08DDlS0

84
Followers
119
Following
4
Posts
04.11.2024
Joined
Posts Following

Latest posts by Pedro M Santos @pedromsantos

Golden Rule:

If you can't trace a piece of code back to making an acceptance test pass, remove it.

22.09.2025 16:48 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Tomorrow I will join you, cya soon

16.07.2025 14:44 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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...

23.06.2025 18:27 ๐Ÿ‘ 14 ๐Ÿ” 4 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I will see you there :)

10.04.2025 08:57 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Fight complexity! It creeps in if you don't actively resist. Keep it simple! #programming #xp

06.03.2025 12:23 ๐Ÿ‘ 8 ๐Ÿ” 2 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I Love the smell of deleted code

20.01.2025 09:10 ๐Ÿ‘ 9 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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?

12.11.2024 06:42 ๐Ÿ‘ 7 ๐Ÿ” 6 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 1
Video thumbnail

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 ๐Ÿ‘‡

05.11.2024 12:28 ๐Ÿ‘ 14 ๐Ÿ” 6 ๐Ÿ’ฌ 5 ๐Ÿ“Œ 2