Hacker News new | ask | show | jobs
by isleyaardvark 1620 days ago
I'm willing to bet it was this, because I was so struck by it I saved it:

>I try to optimize my code around reducing state, coupling, complexity and code, in that order. I'm willing to add increased coupling if it makes my code more stateless. I'm willing to make it more complex if it reduces coupling. And I'm willing to duplicate code if it makes the code less complex. Only if it doesn't increase state, coupling or complexity do I dedup code.

https://news.ycombinator.com/item?id=11042400

edit: and of course it's from a long and worthwhile HN thread on Sandi Metz's original article which was the start of the back-and-forth resulting in the article for this thread

1 comments

> I'm willing to bet it was this, because I was so struck by it I saved it:

This is indeed what I was looking for. I too was struck by it. Thank you SO much.