wordfor

yak shav·ing

/ˈjæk ˌʃeɪ.vɪŋ/ (YAK shay-ving) noun informal

Programmer folklore

  1. A chain of seemingly necessary side tasks, each required by the last, that leads far away from the original goal. To fix a typo he upgraded the linter, which needed a new Node version, which broke the build image. Yak shaving.

Origin

Usually attributed to Carlin Vieri at the MIT AI Lab around 2000, after the 'Yak Shaving Day' segment of The Ren & Stimpy Show.

In practice

Notice the third nested detour and ask whether the original goal still needs it. Often there is a shorter path, or a ticket to file instead.

Say to your AI

Stay on the original task. If you find another problem along the way, note it in a list at the end instead of fixing it.

In plain words

  • I spent all day on something unrelated
  • to fix this I had to fix that first
  • went down a rabbit hole
  • one thing led to another

See also bikeshedding technical debt

Find similar words