3 ms·
This is also why I'm super into rewriting local branch history - when you get into these situations, you reorder the changes into dependency order (F -> E -> D
by azernik 9y ago
This is also why I'm super into rewriting local branch history - when you get into these situations, you reorder the changes into dependency order (F -> E -> D -> ...) and then it becomes trivial to create a PR for a suitably small prefix of the dependency path.
- hinkley 9y agoThat helps but I really believe that it’s an important part of the Mikado Mehod that some of your changes go away during the process. It took a long time for me to believe that some changes are just distractions and don’t move the code forward in all of the ways that are important. Because part of refactoring is realizing that certain problems can be fixed at any time you deem it necessary to do so, that means you don’t have to fix it just because you can. A lot of my code ends up prepped for a refactor I never do. Someone else does it for me, when they have a requirement that makes the change make sense. It’s my 90-10 compromise for the tension between YAGNI and broken windows. I don’t make the change, I just make the change easy.