3 ms·
> Code is typed. Typing it slowly slows you down. Just like a slow compiler does or a slow IDE or even a slow computer with spotty internet. There is a differe
by dozzie 10y ago
> Code is typed. Typing it slowly slows you down. Just like a slow compiler does or a slow IDE or even a slow computer with spotty internet.
There is a different side of this coin, actually. Having a compiler that takes
a really long time to compile the code gives a different type of friction
than a compiler that works blazing fast. The former makes the programmer want
to avoid unnecessary compilation, which works amazingly well for some types of
people (I am this type, so I speak from experience).
Though this doesn't work for a text editor, I believe. Editor should be as
powerful and fast as possible, and I wouldn't trade my Vim for anything else
(maybe Emacs, but I'm too deep to go back and invest in learning it, only to
discover that I got no further than with my current setup).
Edit: Spotty internet connection has its good side, too. One learns to read
locally stored documentation instead of relying on StackOverflow, which is
a big gain in the long run. Similarly slow desktop computer: if the
program runs acceptably on my (slow) machine, it will be so much faster on
something better. (Though I only write command line tools and network daemons,
so I may be biased here.) All boils down to friction profile, which bubbles
different things up to the surface.
- s_ngularity 10y agoIn my current job, I have a docker-compose file that starts four docker containers that are interdependent, two of which frequently need to be rebuilt when I compile. I've found that my code usually compiles the first time even after changing several functions now, since I've gotten in the habit of proofreading more before compiling as a result of the incurred slowdown. Probably some of it is also the decent static analysis tools available for writing Go code, since syntax and type errors are obvious while I'm editing, but I've found I make fewer errors than I used to even when not constrained by the docker slowdown