DEV Community

Discussion on: The 7 most important software design patterns

themobiledev profile image
Chris McKay

I've never heard of Observer being an anti-pattern. If anything, it usually comes highly recommended in enterprise-level software as a way to reduce tight coupling between components.

I know that singleton is considered an anti-pattern, but on some smaller systems where dependency injection isn't available, it sure is useful.