Saving Time — cover art: a beaver in a brown waistcoat at a small wooden workbench by lamplight, patiently filing the teeth of a hand tool, while a brass clock on the wall behind him shows the hour gone.

2004 · Drunken Blog Rants · Rant

“The direct time savings from automating a task is far outweighed by the indirect time savings — avoiding context switching and letting software do the thinking for you.”
— From Saving Time, 2005
Read the essay

© 2004 Steve Yegge. Originally published at Drunken Blog Rants.

Author’s note

A fiddly and overly-long essay about automating your micro-tasks as a programmer, stuff you do over and over. Emacs gives you a lot more tools than a typical IDE, so it explores some of them. It also explores how to decide when it's worth automating a task.

I think a simplified version of this thesis holds up in the world of AI. You need to think carefully about whether to spend _tokens_ to save time (or save more tokens), and I think a lot of the decision process remains similar.

AI Notes

Written live at the keyboard one September evening in 2004, timestamps included. Steve budgets ten minutes for the blog post, takes two hours, and at 9:43pm walks out on the reader mid-essay to chase a "WAY cool" idea, returning 36 minutes later and refusing to say what he built until the end. The structure shambles to match: the Second Significant Point gets announced before he remembers he never stated the first one, and every time a book link lands in the text he runs his new function on it and gleefully counts down toward break-even ("718 more bottles of beer on the wall..."). Buried in the middle is the piece's actual sales pitch — a patient explanation of Emacs's lisp-interaction-mode, where broken half-written code can lie around a buffer like parts in a mechanic's workshop and "happiness is never having to restart." Whether calling that "the ultimate form of unit testing" would survive contact with an actual TDD practitioner is a question the essay does not stop to ask.

The pull quote near the top of this page belongs to a commenter, by the way: a reader named Raif showed up the day the post went up and put its economics more crisply than Steve had. The rest of the thread earns the scroll too, including a nicely timed comeuppance over the mystery tool.

Related listings

  • 2005

    Effective Emacs

    Same year, same toolkit, more general advice. Effective Emacs is the broader case for living inside the editor; Saving Time is one specific worked example of doing it for an hour.

  • 2005

    My .emacs File

    The companion show-and-tell: a walking tour of the accumulated little customisations Steve has built up the way the URL-munger gets built up here, one hour at a time, over years.

  • 2005

    Practicing Programming

    The argument that working programmers don't practise. Saving Time is one description of what practising actually looks like in your editor on a Tuesday afternoon.