Published September 21, 2019
by Doug Klugh
Servicing One Actor
Build classes and modules which have only one responsibility, with only one reason to change. Design each as a group of functions with the responsibility of servicing a single actor (one user fulfilling a particular role). This will help achieve separation of concerns, promote a loosely-coupled architecture, and prepare for migration into containers and on to the cloud.
« A module should be responsible to one, and only one, actor. »
— Clean Architecture: A Craftsman's Guide to Software Structure and Design, September 2017 - Robert C. Martin