Design patterns are general reusable solutions to commonly occurring problems within the given context of software design. A design pattern is not a fully functional solution but usually refers to a general approach to implement in a particular type of situation in software design. The design patterns are usually language independent and can be applied in any major programming languages.
If you are into software development, you must have used at least some of the design patterns knowingly or unknowingly. There might be the difference in the way you have implemented it if you don't know about that pattern. This series will make you familier with most of the common design patterns with some practical examples.
Why use a design pattern?
- We use design pattern to speed up the development process. Since the known solution is already ready for the common situations, we don't need to brainstorm as solution.
- Since, the pattern is commonly used and tried and tested, we can easily trust on the approach and can know about the pros and cons of implementing those pattern.
- The design pattern is language independent, so the same approach can be applied in any language that support object oriented programming.
- The risk of using these pattern is very low as the solution is already tried and tested by many developers.
- The design patterns are usually highly flexible and provides you many options to scale your solution better.
Full article coming soon. Please keep visiting.