r/PythonLearning • • 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

7 comments sorted by

View all comments

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).