Friday, July 3, 2009

Most common design principles

“In computer programming, SOLID (Single responsibility, Open-closed, Liskov substitution, Interface segregation and Dependency inversion) is a mnemonic acronym introduced by Robert C. Martin in the early 2000s which stands for five basic principles of object-oriented programming and design.” by Wikipedia

Most common and famous design principles are given bellow. And some rapid fire definition to remember. Often I wonder what is the best way to train you so that you always follow the design principles. Best answer is there is non, and practice is the key to success.

What is more important?

Design Pattern, Design Principles, Code Smell, or refactoring, an honest answer is all of them. So if we want to become more productive developer and enhance the learning and knowledge we ought to learn and get by heart those key words and practice them.

Until next time, happy coding.