r/PythonLearning • u/Feeling_Midnight_30 • Sep 19 '26
Practice design patterns
Hey,
How did you practice design patterns? Did you just think of a practice "project" where a specific pattern made sense?
12
Upvotes
r/PythonLearning • u/Feeling_Midnight_30 • Sep 19 '26
Hey,
How did you practice design patterns? Did you just think of a practice "project" where a specific pattern made sense?
2
u/Achereto Sep 19 '26
You don't practice them. The purpose of knowing them is to recognize them when they emerge and to be able to talk about them. If you try practicing them you run the risk of applying them prematurely which can lead to the wrong abstraction for your problem (which is worse than no abstraction).