user

Scattered Bits


Recent Posts


Recent Comments


    Archives


    Categories


    Meta


    Navigation
    TagDesign
    Featured

    Tips and Tricks

    Orchestration is also a responsibility

    Posted on March 31st, 2016.

    The short version Whenever you want to accomplish both task 1 and task 2, don’t end up with a class that does task 1 and then uses a collaborator class to do task 2. Instead, use one class to do the the orchestration of two collaborator classes, one for each task. The longer version Some things are hard to test. Sometimes this is...