3 ms·
"There is a limit to how many lines of code a single person can maintain." I used to believe that, but I don't think it holds true any more. The trick is to w
by simonw 3y ago
"There is a limit to how many lines of code a single person can maintain."
I used to believe that, but I don't think it holds true any more.
The trick is to write code with automated tests and comprehensive documentation.
If you do this, you can leave projects in a state where you can pick them up in the future as if you weren't the original author.
- lovasoa 3y agoOh, I hadn't noticed your username! On the topic of maintenance: could you have a look at this pull request I opened three years ago on a repo of yours : https://github.com/simonw/datasette/pull/1159 https://github.com/simonw/datasette/pull/1159 ?
- simonw 3y agoHah, wow, it looks like I've been procrastinating on making a decision if I like that or not for three years! I'll add it to the Datasette 1.0 milestone so it definitely gets my attention before shipping that release.
- lovasoa 3y agoIt's true that if all the code works well, is tested and all the features are supposed to stay the way they were when the code was written, then, any developer can maintain any amount of code, there is just nothing to do. The problem arises when there is a change in what we want the code to do. Changing a feature that is implemented over three codebases in three different languages is definitely much more work than updating something that was written in SQLPage, for instance.