Summary
Keywords
command design pattern
design patterns
command pattern
design pattern
design pattern tutorial
design patterns tutorial
design patterns in software engineering
command design pattern python
command design pattern real world example
design patterns tutorial python
design patterns tutorial teacher
undo redo
Full Transcript
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video I show you how the Command design pattern works, and how you can use it to implement undo and redo behavior really easily. The code I worked on in this video is available here: https://github.com/ArjanCodes/2021-command-undo-redo. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/ 🔖 Chapters: 0:00 Intro 1:16 The Command Design Pattern 1:55 Explaining the example 3:53 Implementing the Command pattern 13:43 Adding undo and redo behavior 22:50 Adding batches of commands 31:09 Final thoughts #arjancodes #softwaredesign #python
