r/eli5_programming • u/nolo_me • Oct 23 '17
Can someone ELI5 design patterns?
Every time I try to read the Gang of Four book it puts me straight to sleep.
13
Upvotes
r/eli5_programming • u/nolo_me • Oct 23 '17
Every time I try to read the Gang of Four book it puts me straight to sleep.
6
u/lineape Oct 23 '17
Give this a try.
https://github.com/kamranahmedse/design-patterns-for-humans
5
u/isolatrum Oct 23 '17
Design pattern explanations are notoriously riddled with jargon. It's almost like they intentionally use more of it to seem more legitimate.
There's no way anyone can explain all the design patterns succinctly. There are quite a lot of them. But if what you're looking for is an explanation of the concept of a design pattern, that's a bit simpler. It's a way to organize your code, a 'structure' if you will. With every 'strategy' of building code there are always pros and cons - more/less error catching, more/less keystrokes, more/less easy to test, ets.
4
u/foureyesequals0 Oct 23 '17
I really enjoy the head first design patterns book over the other one. It looks ridiculous but it's legitimate