Design Principle: Composable Services

(sleepingpotato.com)

9 points | by mooreds 6 days ago ago

2 comments

  • Terretta 3 days ago ago

    Useful principle and interesting approach (see also hexagonal architecture), but long copy has generative smells such as introducing a topic with the "And topic?" pattern and the "Thing isn't just x, it's y." pattern.

  • mungaihaha a day ago ago

    "Here’s a real example: a user signs in with an email and password. That flow touches three services, each with a single responsibility:

    EmailService::Normalizer strips and downcases the email UserService::Authenticator checks credentials SessionService::Creator creates a session"

    Don't know how to say this without sounding arrogant. WTF?