3 ms·
The trick is to not break it up. Adding more lose ends will just make the ball of twine more complicated. What you can break out though is independent code that
by z3t4 6y ago
The trick is to not break it up. Adding more lose ends will just make the ball of twine more complicated. What you can break out though is independent code that is the same for many apps, that code can be made into a module and reused across apps. Pure mathematical functions can be turned into a library.
But what could probably help keep your sanity for a CAS is to add a test case for every change to make sure the same input produce the same output in the future. As well as performance tests to avoid performance regressions.
- Ankintol 6y agoI totally agree, we do all of these things. It was just a little less clear early on in the project what the best structure for the project was :)