I know that design patterns are time tested solution to a particular type of software problems.
But how would I know that I am overusing a design pattern?
How much is too much ?
What things should I keep in mind while using design patterns to avoid overusing?
The only possible way I can think of is to get a real grip on the design pattern before you even think of using it.
Before using the design pattern you must know what exactly it is meant for?
What may be the advantages/ disadvantages of using it ?
Start with your own idea and see if the design patterns fits along the way.
You can even make slight modifications in the pattern if it makes your code better.
If you are a beginner just don't worry to make some mistakes because it is the way we all learn.
Design patterns are really great but can make your code unnecessarily complex and bulky if not used wisely.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With