Software Design in Python

In this series, I talk about design patterns and principles and show you how you can use them to improve the quality of your code. All examples are in Python.

Curated by: ArjanCodes (99 videos)


Currently Playing: How To Make The Command Pattern More Flexible With One Simple Change

💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video, I revisit the command pattern and show you one change that makes this pattern really flexible: going from the state being the ground truth to the transactions being the ground truth. The code I worked on in this example is available here: https://github.com/ArjanCodes/2021-command-transactions. Part 1 of this miniseries: https://youtu.be/FM71_a3txTo. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/ 🔖 Chapters: 0:00 Intro 1:02 Recap of last week's example 2:45 States vs. transactions 4:05 Using transactions as the ground truth 10:23 Simplifying the undo/redo mechanism 12:02 Changing the balance value to a cache 15:03 More examples of transaction-based systems #arjancodes #softwaredesign #python


Tracks in this Playlist