Re:Benefits of a Monorepo
by lmm on Wednesday May 01, 2019 @07:46AM
(#19796196)
Adding a new function anywhere other than the leaf project where it's used is premature. Organize around user-facing functionality. Pull out common libraries as and when you have something common enough to factor out (and, crucially, test independently), not before.
[ Parent
| on HN ]
Re:Benefits of a Monorepo
by jacques_chester on Wednesday May 01, 2019 @08:00AM
(#19796277)
So the answer to needing to open multiple PRs is to open multiple PRs.
The answer is to adapt your working patterns so that you never have multiple PRs on the critical path. Long-term codebase quality may require multiple PRs, but delivering user-facing functionality doesn't.
And what if I wanted to add a method to a class? Or a method and a data member?