It is time to get back to basics. People believe that since they know what the strategy, iterator, adapter or composite pattern are they believe they know design patterns. Unfortunately, this is akin to someone who knows 4 recipes thinking they are great cooks. Design patterns give insights into the proper way of design. The patterns, as solutions themselves, are only somewhat valuable. A major challenge in the Agile community today is people not manifesting what they know in their code. What you know in your head has no value if it doesn’t manifest in your code.
Al Shalloway has been teaching design patterns for almost 2 decades. This talk is about getting the essence of the teachings of design patterns at a basic coding level. That is, by focusing on 6 basic practices:
1 Programming by intention
2 Separate Use From Construction
3 Consider tests before writing code
4 Encapsulation as a design technique
5 Avoiding redundancy that will come back to cost you
6 Refactor To The Open Closed
Our experience has shown that if you write code with these practices, your code will be of high quality even if you are not aware of the patterns you are likely implementing.