So I want to change the name of a Python module. It requires a bit of search and replace, brings me to a familiar fork in the road. How much effort should I put into learning tricks which increase editing efficiency? Should I slog through changing `grab` to `grabber`, or should I study up on regex in Vim so that the process is automated to some degree? I think it was Douglas Adams who described his (geekdom's) propensity to spend several days tuning a bit of code that avoided 15 minutes of tedium.
Here's the toolchain:
thought -> fingers -> keyboard -> Vim -> file -> code -> interpreter -> action
There are toolchains within each of the elements above.
Can toolchains be generalized into a cognitive equivilent of timelines?
Hope so, generalizations and equivilence are always good.
Each element of the chain offers opportunity to consider the trade off between getting 'er done, and adding or improving a tool. Abraham Lincoln is credited something like "If I had 6 hours to chop down a tree, I'd spend 4 sharpening the axe"
2008-09-14
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment