Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Object Oriented Design Notes

Sandi Metz

  • Inheritance is not for sharing behavior
  • Active Nothing (Null Object Pattern)
    • Must believe in nothing
  • No such thing as one specialization
    • The new behavior is one thing and the original behavior is the other
    • Isolate the difference, name the concept, define the role, inject the players

Model Names

  • Adapter
  • Base
  • Bucket
  • Builder
  • Container
  • Controller
  • Converter
  • Coordinator
  • Engine
  • Entity
  • Factory
  • Feed
  • Gateway
  • Generator
  • Handler
  • Listener
  • Manager
  • Observer
  • Producer
  • Protocol
  • Provider
  • Reader
  • Responder
  • Session
  • Source
  • Synchronizer
  • Target
  • Tracker
  • View
  • Writer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.