NICOLÁS BOTTARINI
Back to the path

The path

Design Patterns

472 pages of reading · 11 h 34 min of video

Design patterns are known solutions to recurring problems, and a vocabulary to talk about design. It's worth knowing them to recognize them, but not to force them: most of them show up on their own when you refactor to remove duplication and conditionals.

Topics

Stage 3 · Design patterns
  • Introduction

  • Creational Patterns: Factory Method, Abstract Factory, Builder, Prototype

  • Structural Patterns: Adapter, Bridge, Composite, Decorator, Façade, Proxy

  • Behavioral Patterns: Chain of Responsibility, Command, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor, Null Object

  • Double Dispatch

Stage 5 · Architecture
  • Enterprise Patterns

    Transaction Script, Domain Model, Table Module, Service Layer, Unit of Work, Identity Map, Lazy Load

Resources

Katas to practice

Game of Life

Game of Life

Code Conway's famous cellular automaton using TDD

Advanced beginnerMedium
View kata
Mars Rover

Mars Rover

Move rovers around a plateau on Mars

Advanced beginnerLong
View kata
Poker Hands

Poker Hands

Your job is to compare several pairs of poker hands and to indicate which, if either, has a higher rank.

Advanced beginnerLong
View kata
Yahtzee

Yahtzee

Calculate Yahtzee scores

Advanced beginnerLong
View kata