5 ms·
> 3 lines of code shouldn't take all day Sure they should. I often spend all day on negative numbers of lines (I always say that the best code I write, is the
by ChrisMarshallNY 5y ago
> 3 lines of code shouldn't take all day
Sure they should. I often spend all day on negative numbers of lines (I always say that the best code I write, is the code I don't write).
The complaint seems to center on CI/D services that provide inefficient build times. These increase the pain of "round-trip" implement-test-refactor.
That's quite valid, as this is how we tend to work, these days (at least, that's how I work). I often take it a step further, and iterate the design as I progress[0].
But I am one that got their start in the waning days of "big iron," when compute time was the costliest and most time-consuming part of the whole process. You'd need to schedule for computer runs, which would often happen overnight. This meant that it was very important to have your code complete, and debugged, before submitting it for compilation.
Argh. I miss it like I miss a case of food poisoning. It did teach me to do my homework, though.
[0] https://littlegreenviper.com/miscellany/evolutionary-design-specification/ https://littlegreenviper.com/miscellany/evolutionary-design-...
- munificent 5y ago> Sure they should. I often spend all day on negative numbers of lines (I always say that the best code I write, is the code I don't write). You're missing the point of the article. It's not about valuing quantity of code. It's about valuing minimizing the time it takes to determine what you want the code to be. If it takes you a 30 minute compile loop to add a line of code, it's also going to take a 30 minute compile loop to refactor and eliminate a line of code. The latter is actually worse. When your iteration time is high, developers will deal with it and push through as necessary to get features implemented because they have to make the software do a certain thing. But they will absolutely not struggle through a shitting iteration cycle if the only result is cleaner refactored code. If you want nice codebases, you need a nice iteration cycle.
- ChrisMarshallNY 5y ago> You're missing the point of the article. Actually, I didn't. Just sayin'.
- munificent 5y agoSorry to misinterpret you.