Home

Blog

Write Code That's Easy to Delete

Write Code That's Easy to Delete

Optimise for deletion

The code you write most is code you'll later remove. Keep modules small, dependencies one-directional, and boundaries explicit, so deleting a feature is a clean cut rather than open-heart surgery.

A layered structure (routes β†’ services β†’ repositories) makes the blast radius of any change obvious before you make it.

More posts