zahinz

ideas

Break it to learn it

The fastest way I know to understand something is to change it and watch what fails.

By zahinz·

Black loops drawn over and over on a white page, close to a circle but never closing

I learn best by breaking things. Not by accident, but on purpose, in a place where it is safe to fail.

Reading about how something works only takes me so far. The rest comes from changing one thing and seeing what happens. Turn off one part. Feed it bad input. Pull out the piece everyone says is important, and find out if it really is.

Small and safe

Breaking things is only useful if the damage is small. So I keep experiments short and cheap.

  • Copy it first, so the real thing keeps working.
  • Change one thing at a time.
  • Write down what I expected before I run it.

The last one matters most. If I don't write down what I expected, I can't tell if I learned anything. I just watched something happen.

What it teaches

Most of what I know about how systems fail, I learned from making them fail. You find the weak parts quickly. You also find the parts that are stronger than you thought, and you stop worrying about them.

If it can only work when nothing goes wrong, it doesn't really work yet.

It works outside of code too. A plan, a habit, a way of running a meeting. Push on it a little. See where it bends.

The rule

Break things where it's cheap, so they don't break where it's expensive.