1 Comment
User's avatar
Basma Taha's avatar

I like your take on this, Eric. But when I started telling people on PRs to split functions and use SRP they became a bit skeptical and defensive.

Some had good points though, like for example, that writing small functions makes the code navigation hard, or hard to follow and read.

I think it's fair but also, the contradictory argument that big functions are hard to follow is fair!

It's a bit of a paradox 😅

What do you think about that? 🤔

Expand full comment