DEV Community

Discussion on: Design Patterns in Web Development

Collapse
 
fatimatariq25 profile image
Fatima Tariq

Just an opinion - I think Strategy pattern is the easiest of them all and a developer should be able to adopt it quickly. Also, I feel that the factory pattern is a bit overrated :-) An important extension of the Builder pattern is the Step Builder patterns which can enforce conditions such as which 'build' step to allow next, mandatory parameters etc. Decorator, Facade and adapter are also (relatively) easy to pick up and more useful compared to Singleton. The toughest ones IMO are Command and Visitor