Skip to content

A series of examples both describing and demonstrating design patterns in programming.

License

Notifications You must be signed in to change notification settings

JoshuaSledden/design-patterns

Repository files navigation

Design Patterns

This is a set of examples for many different design patterns I have been learning over the course of my time as a software engineer. With each example I will attempt to give a basic demonstration of the pattern in action, as well as a brief outline of its purpose.

The strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independantly from clients that use it. The observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.

About

A series of examples both describing and demonstrating design patterns in programming.

Resources

License

Stars

Watchers

Forks

Languages