+ 1

What is the easiest design pattern to learn?

26th Feb 2017, 5:01 PM
Thomas Zenglein
Thomas Zenglein - avatar
2 Answers
+ 2
I believe Singleton is one of the easiest design patterns to learn because you just need to do two things: 1. Make the constructor private 2. Implement a method to get an instance of your singleton class For more details about this patter please see https://en.wikipedia.org/wiki/Singleton_pattern All that being said, please keep in mind that Singleton is a pattern that is considered "evil", "stupid" and an "anti-pattern" depending on how it is used.
26th Feb 2017, 5:20 PM
Elf Dragon Air
Elf Dragon Air - avatar
+ 2
I'd say Builders.
26th Feb 2017, 8:51 PM
1of3
1of3 - avatar