Services
Training
Coaching
Engineering
Content
Community
Company
Constructors on a class make it hard to decide which constructor to call during development.
Replace the constructors with intention-revealing Creation Methods that return object instances.
Chain Constructors
Compose Method
Encapsulate Classes With Factory
Encapsulate Composite With Builder
Extract Adapter
Extract Composite
Extract Parameter
Form Template Method
Inline Singleton
Introduce Null Object
Introduce Polymorphic Creation With Factory Method
Limit Instantiation With Singleton
Move Accumulation To Collecting Parameter
Move Accumulation To Visitor
Move Creation Knowledge To Factory
Move Embellishment To Decorator
Replace Conditional Dispatcher With Command
Replace Conditional Logic With Strategy
Replace Constructors With Creation Methods
Replace Hard-Coded Notifications With Observer
Replace Implicit Language With Interpreter
Replace Implicit Tree With Composite
Replace One/Many Distinctions With Composite
Replace State-Altering Conditionals with State
Replace Type Code With Class
Unify Interfaces With Adapter
Unify Interfaces