CodeFaster

CodeFaster

Share this post

CodeFaster
CodeFaster
The Rule of Economy

The Rule of Economy

Tyler Adams's avatar
Tyler Adams
Feb 02, 2021
∙ Paid
1

Share this post

CodeFaster
CodeFaster
The Rule of Economy
Share

This is part of a series on Unix Design Principles to help us design code that can be written faster.

In this post, we’ll discuss the Rule of Economy.

Rule of Economy

The rule of economy:

Programmer time is expensive; conserve it in preference to machine time.

It has two caveats. If your product is faster machine time, then you can trade your time for machine time.

If you’re broke, then more machine time isn’t an option.

Real World Application

In this section, I’ll walk you through how to apply this rule in the real world. I had a real life design choice and this principle influenced the decision.

In another life, I run engineering for a startup, Backtester.io. It’s an easy-to-use online financial backtester. The rule of economy helped me design the “analysis” feature. Here’s some quick background:

A financial backtester is a simulator. Users specify parameters, run an simulation (called a “backtest”), and get results. They can use it two ways:

  • Run a “backtest”. The user specifies every paramet…

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