I have seen many ugly functions over my decade of software development.
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? 🤔
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? 🤔