← cd ~/writing
amine@web ~/writing $ cat throwaway-code.md

the case for writing more throwaway code

2026-01-15 opinion 3 min read

we treat code like it's precious. every line committed is a line we'll maintain forever. every abstraction is load-bearing. every function name is a contract.

what if most code should be throwaway?

i've started writing more prototypes, more spikes, more "let me just see if this works" scripts. most get deleted within a week. the ones that survive earn their place.

the code that matters is the code that taught you something. whether it lives in your repo or your trash bin is irrelevant.

← prev rust, memory, and the things we take for granted
next → a minimal approach to protocol design