When numerous algorithms for a given strategy (interface) are required, this pattern comes in handy. Singleton Design Pattern is used when only one instance of a class is required. Observer Design Pattern enables you to set up a subscription mechanism that permits other entities to be alerted of each occurrence on the entity to which you are subscribed.

6m read timeFrom blog.bitsrc.io
Post cover image
Table of contents
2. Singleton Design Pattern3. Observer Design PatternIs using design patterns always a good idea?Design Patterns’ Beginnings!ConclusionsBuild composable web applications
10 Comments

Sort: