Hacker News new | ask | show | jobs
by alttab 1773 days ago
Coupling, Cohesion, and Encapsulation. That's the way I learned it. The Dryness or single responsibility principle I think boils down to encapsulation.
1 comments

I think DRY is the fundamental axiom of reasonable coding. Everything else naturally derives if you religiously follow it.

My only issue is it does not play so well with microservices.

Or tests. I prefer my tests DAMPer.