CodeFaster

CodeFaster

Share this post

CodeFaster
CodeFaster
Write those useless cats

Write those useless cats

Let's all get UUOC awards

Tyler Adams's avatar
Tyler Adams
Feb 24, 2023
∙ Paid
1

Share this post

CodeFaster
CodeFaster
Write those useless cats
Share

Consider

al < bob | carol | dave edgar > frank

vs

cat bob | al  | carol | dave edgar > frank

Thanks for reading CodeFaster! Subscribe for free to receive new posts and support my work.

In the first, the data starts with bob, flows to the left into al, then back over bob and to the right via carol.

In the second, data flows left to right from bob to al to carol. Data flowing in one direction, left to right is easier to reason about than spiraling around, it’s easier to read (and much easier to skim!), which improves readability.

If you’re old, you’ll remember UUOC awards because “cat costs you a process so don’t use it”. Nonsense, that “useless cat” buys you

  • readability

  • which lets you code faster

  • which matters more than machine efficiency

  • which is unix approved

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Tyler Adams
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share