Founder Playbook

Shipping
I repeat myself all the time and then if I repeat myself 10 times like you know don't repeat yourself as the Mantra then I write a function but I don't people like people try immediately write a function for something you repeat twice it's like man just tweet repeat it TW you know like this kind of stuff

Don't extract functions on the second repeat — let it repeat 10 times first

Standard DRY advice tells you to extract a function the second time you repeat code. For a solo indie hacker pre-PMF, that's premature optimization. Pieter's rule: let it repeat 10 times before you build the abstraction. By repetition 10, you know what the shape of the abstraction actually needs to be. Earlier than that, your function design will be wrong and you'll refactor it twice anyway. Validate the pattern first, abstract once.


P
Pieter Levels
Nomad List / Remote OK / Photo AI / Interior AISolo founder behind Nomad List (~$40-60K/mo, 9 years old), Remote OK, Photo AI, and Interior AI. Builds with PHP + jQuery, has shipped multiple AI startups within months of GPT/Stable Diffusion launching. ~340K Twitter followers, lifestyle bootstrapper / digital nomad.
The Bootstrapped Founder
Pieter Levels — Indie Hacking is Dead. Now what?· 21:20
More tactics from Pieter Levels