|
|
|
|
|
by gedy
937 days ago
|
|
I agree, but reality is there are a lot of smart devs who are "big thinker" types and struggle with incremental development and lots small PRs towards a bigger goal. I prefer incremental and used to roll my eyes at them, but it's just a different way of thinking and people/teams are diverse. |
|
It doesn't really matter. You can start with a big change initially as a 'big thinker'. You just have to break it down afterwards.
I often have a bit of feature creep when working on a change, and add all kinds of incidental fixes I find along the way.
But afterwards, I use git's tooling to 'peel off' all those extra changes and stick them into their own PRs. That makes my main PR slim again. If the main thrust is still to big after that diet, I think about breaking it down into incremental changes that make sense for reviewers.
That process of breaking down is all about telling an understandable story to reviewers (both reviewers right now, and the poor folks who have to look at my commits in a few months to figure out when and where we introduced a bug, or why certain decisions were made. Those poor folks often include my future self.)
> I prefer incremental and used to roll my eyes at them, but it's just a different way of thinking and people/teams are diverse.
Some people produce incremental PRs naturally, and that's great for them. But for the 'big thinkers' it's a learnable skill to break their PRs into manageable chunks after the fact. No need to change their natural style.