2 ms·
I learned to program using Turbo Pascal and kept going with Delphi. I then had a 10 year break doing mainly C++. Having compile times suddenly go up 10-100x I
by magicalhippo 3y ago
I learned to program using Turbo Pascal and kept going with Delphi. I then had a 10 year break doing mainly C++.
Having compile times suddenly go up 10-100x I found myself being much more careful before compiling.
Don't think I spent that much more time, just an extra pass looking things over, making sure I wasn't doing something obviously wrong etc.
Hard to maintain that discipline now that I'm back to "instant" compilation, for some reason.
- wenc 3y agoOn one hand, high compile times make you think about your code more deeply. No one will dispute that this is a good discipline. On the other hand, computers can check so many more cases more quickly and more correctly. I think there's a point at which you say, "I'm going to get better results by letting the machine do the work."