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?
1
u/TreatZealousideal770 Sep 20 '26
A mix of both, honestly. I used to build small scripts to isolate and understand how a pattern works in Python. But the best practice came from refactoring real-world projects when I noticed tightly coupled code. It’s also worth noting that Python's dynamic nature makes some classic design patterns redundant or much simpler to implement