AlgoViz

Which pattern, when

medium 45 min

A pattern is an answer to one kind of pressure.

Watch lesson4:38

What each level should show

The same question is judged differently for mid, senior and staff.

  • Junior

    Must show

    • Knows Strategy, State, Observer and Factory
    • Gives one force for each

    Will be probed on

    • Why not Singleton?

    Stands out

    Leaves a pattern out and says why.

  • Mid

    Must show

    • Tells look-alikes apart by intention
    • Compares with a table or a function

    Will be probed on

    • Strategy or State
    • Who creates it?

    Stands out

    Names the cost without being asked.

  • Senior

    Must show

    • Combines patterns without tangling them
    • Handles failure inside the pattern

    Will be probed on

    • A listener that throws
    • Effect of the language

    Stands out

    Removes a pattern from their own design.

  • Staff

    Must show

    • Chooses axes of change from evidence
    • Sets rules for a whole code base

    Will be probed on

    • Sixty factories

    Stands out

    Shows how a wrong pattern would be found and undone.