What’s a Design Pattern?

A design pattern is a solution to a problem. Chances are, if you’re wondering how to solve a programming problem, another developer has already solved it!

There are all sorts of patterns to solve all manner of problems, but they all have one thing in common: they are meant to make your code more maintainable.

If you have been programming for any length of time, you have likely created some code that is not as maintainable as it could be. Design patterns use the principles of Object Oriented Programming (OOP) to help you create code that will be easy for you (and the developers who follow you!) to understand, edit, and extend.

If you are new to OOP, you may want to brush up on the basic principles before diving into design patterns. Otherwise, you may want to start with the following patterns:

Leave a Reply

You must be logged in to post a comment.