Re:3 lines of code shouldn't take all day
by torginus on Thursday December 16, 2021 @04:35AM
(#29576581)
The problem is many times, you can't really reason through the issues your encountering. For example, if you are trying to talk to a server with an undocumented API flow, or you're trying to coax an in-house library to life, you have no option but take baby steps and test every single change to see if you made progress.
In environments (like C++) where the compile times are high, and it's pretty easy to introduce almost impossible-to-trace bugs, I'm often tempted to do a bunch of changes, and then test them all at once, which will invariably result in something breaking and me having to spend an inordinate amount of time to figure out what went wrong.
[ Parent
| on HN ]
Re:3 lines of code shouldn't take all day
by jimmaswell on Thursday December 16, 2021 @10:24AM
(#29579064)
Yeah, this breaks down in this case. I've wasted so much time making small changes trying to figure out how to adapt a model in the right way for it to work in both real and test code, getting a weird injection to work, etc. on systems with agonizing build times.