logoalt Hacker News

gherkinnntoday at 12:27 AM0 repliesview on HN

Optimising for "code is easy to change" hits that balance well enough.

Start with a loose bag of functions. These are easy to compose in to larger pieces of functionality. And, this is key, easy to decompose when things change. Once this WET bag becomes a chore to change, the right abstraction might just show itself for DRY-ing out.