Design Patterns looks only good on papers and books but not in practical applications and reality : A well known misconception

Design Patterns looks only good on papers and books but not in practical applications and reality : A well known misconception

During trainings, I come across a lot of engineers who wants to learn and practice design patterns but are also apprehensive using the same with a lot of misconceptions in mind.

I would like to share an example of one of my participants who came to me and said …"Hemant , my project manager says these design patterns and uml only looks good in books and theories … but rarely used and makes sense in real life …Is it true?"

On one hand I was amused hearing the same while on the other hand I was just thinking as to how can the project manager say this when core design patterns is the fundamental grammar of any well designed system.

If it was such a useless thing then why are there numerous applications of the same in the real world as well as the software system themselves?

Why are most of the programming languages, IDEs, Tools, Middlewares, Hardware/ Software Systems, Internet are designed using design patterns?

If after so many applications both in the real world and software domain, if a person says that it only looks good on paper … then we can only contribute this to his Ignorance.

In fact what many people don't realize is … "Eric Gamma and his team would have also looked into this real world as to how different types and levels of flexibility are enabled in this real world and they would have documented those mechanisms as Core Design Patterns. For every GOF Design Pattern there are hundreds of examples in this real world.

The very simple way of asking the utility of core design patterns is by asking yourself a question.

"Is flexibility a important parameter that a person seeks in any system?"

If the answer is Yes … then you would need to use the Core Design Patterns … else it is not needed.

 
Hemant Jha
Founder - VPlanSolutions
Researcher, Trainer

www.VPlanSolutions.co.in