Curriculum

The 44 Golden Engineering Rules

Each rule is explained at three depths โ€” Simple, Standard and Deep โ€” plus a quick quiz. The first 6 are free; the rest are part of Pro.

๐Ÿ—๏ธRule 1

Build for Production, Not Just for Demo

Design every system to be correct, resilient and maintainable.

Free5 min
๐Ÿ”Rule 2

Understand Before You Change

Trace the architecture, data flow and dependencies first.

Free5 min
๐ŸŽฏRule 3

Correctness Before Optimisation

Produce the right result even when things go wrong.

Free6 min
๐Ÿ”Rule 4

Anything Can Happen Twice

Make repeated requests safe with idempotency.

FreeSimulator7 min
๐ŸงฉRule 5

All or Nothing

Keep business operations atomic with transactions.

FreeSimulator7 min
๐ŸRule 6

Two Requests at Once

Protect data when operations run simultaneously.

FreeSimulator8 min
โฑ๏ธRule 7

Fast Response, Slow Work in the Background

Keep user requests short; queue the heavy lifting.

Pro6 min
๐ŸŒŠRule 8

Queues and Back-Pressure

Buffer work so spikes do not crush your systems.

ProSimulator8 min
โณRule 9

Retry With Care

Exponential backoff, jitter and a maximum retry count.

ProSimulator7 min
๐ŸงญRule 10

Nothing Fails Silently

Give every important job a recoverable failure state.

Pro6 min
๐Ÿ”€Rule 11

Make State Explicit

Model workflows as clear, legal state transitions.

ProSimulator8 min
๐Ÿ—„๏ธRule 12

Let the Database Guard the Rules

Keys, constraints, indexes and referential integrity.

Pro7 min
๐Ÿ”ŒRule 13

Design APIs People Can Trust

Explicit, validated, authenticated and versionable.

Pro6 min
๐Ÿ›ก๏ธRule 14

Trust Nothing by Default

Assume every request could be hostile.

Pro7 min
๐Ÿ”‘Rule 15

Only the Access You Need

Give every component the minimum permissions.

Pro5 min
๐ŸŒRule 16

Assume the Whole Internet Is Knocking

Bots, spikes, abuse and malformed requests are normal.

Pro6 min
๐Ÿ“ˆRule 17

Scale by Design

Stateless services, no hidden local state.

Pro6 min
โšกRule 18

Measure Before You Optimise

Find the real bottleneck, then fix it.

Pro6 min
๐Ÿ”ญRule 19

Know What Happened

Trace any request across your whole system.

Pro6 min
๐Ÿ“Rule 20

Logs Machines Can Read

Correlation IDs, status, duration โ€” not vague messages.

Pro5 min
๐ŸšจRule 21

See It Before Users Do

Watch error rate, latency, queue depth and retries.

Pro5 min
๐ŸŒณRule 22

Bend, Do Not Break

A failing side-dependency should not sink the core.

Pro6 min
๐Ÿ”—Rule 23

Treat Every External Service as Unreliable

Timeouts, retries and circuit breakers.

Pro6 min
๐Ÿ“ฑRule 24

The Backend Is the Boss

Handle double submits, refresh and network loss.

Pro6 min
๐ŸŽฏRule 25

One Source of Truth

Define who owns each piece of data.

Pro6 min
๐ŸงฌRule 26

Do Not Break Your Consumers

Prefer additive changes; version the breaking ones.

Pro6 min
๐ŸššRule 27

Change Schemas Safely

Assume the database is full of data.

Pro6 min
๐ŸงชRule 28

Test the Unhappy Paths

Timeouts, duplicates, concurrency and failures.

Pro7 min
๐ŸฅทRule 29

Prove Failure Cannot Corrupt Data

Attack your own system before someone else does.

Pro6 min
๐Ÿš€Rule 30

Ship Repeatably

Automated, versioned, reversible deployments.

Pro5 min
โš™๏ธRule 31

No Hard-Coded Environments

Separate config from code, everywhere.

Pro4 min
๐ŸŽš๏ธRule 32

Release Slowly, Roll Back Fast

Decouple deploy from release.

Pro5 min
๐Ÿ“–Rule 33

Who Did What, and When

Record important business operations.

Pro5 min
๐Ÿ”Rule 34

Collect Only What You Need

Classify, protect, retain and delete deliberately.

Pro5 min
โœ๏ธRule 35

Code Humans Can Trust

Readable, modular, explicit, tested.

Pro4 min
๐ŸšซRule 36

Never Swallow an Error

Handle it, translate it, or log it โ€” never ignore it.

Pro5 min
๐Ÿ›‘Rule 37

Fail Loudly, Not Silently

A clean failure beats corrupted data.

Pro5 min
๐Ÿ”„Rule 38

Design Recovery In, Not On

If this stops halfway, how does it continue?

Pro5 min
๐ŸงฎRule 39

Find the Inconsistencies

Automate checks for data that does not add up.

Pro6 min
๐Ÿ”ขRule 40

What If It Gets 10x Busier?

Know your bottlenecks and limits in advance.

Pro6 min
๐Ÿค–Rule 41

Agents That Think First

Inspect, risk-assess and change safely.

Pro5 min
๐ŸŽญRule 42

Never Optimise for the Demo

It must work repeatedly, concurrently and safely.

Pro5 min
โœ…Rule 43

Definition of Done

A checklist, not a feeling.

Pro6 min
๐Ÿ‘‘Rule 44

The Golden Rule

Anything can happen twice, concurrently, partially, slowly or not at all.

Pro6 min