Friday, February 27, 2015

Solutions and Design Patterns - what comes first?

I have always been a believer of the following approach in software engineering field:

  1. Have a problem to solve or a requirement to implement
  2. Figure out a solution for it
  3. If your solution ends up being one of the known design patterns, all good. 
What you should NOT do after you get a problem to solve:
  • Do NOT go through a list of design patterns trying to find out which one could solve your problem.

The reason why I am saying this is because we are all guilty of this at some point in our careers whether we want to admit or not. What I am trying to say is that picking a design pattern first might just solve a part of your problem and it might even introduce unnecessary complexity. Please focus on finding the right solution.

- -

#architecture #coding #programming #softwaredevelopment #softwareengineering #ITsolutions

No comments:

Post a Comment