tubeshowcaseā—1,194,391 videosā™” My collection 0
← Learn to Code

Learn to Code19:14

The State Pattern in Python (Real Examples)

ArjanCodes ↗

From the creator

šŸ‘· Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis. In this video, I'll dive into the State Design Pattern in Python, a game-changer for managing state changes in object-oriented programming. GitHub repository: https://git.arjan.codes/2023/state. šŸŽ“ ArjanCodes Courses: https://www.arjancodes.com/courses. šŸ’¬ Join my Discord server: https://discord.arjan.codes. āŒØļø Keyboard I’m using: https://amzn.to/49YM97v. šŸ”– Chapters: 0:00 Intro 1:09 What is the State Design Pattern? 1:25 Basic Example 3:54 Example 2: Document editing 8:55 Example 3: Game states 17:24 When to use the State pattern? 18:34 Final thoughts #arjancodes #softwaredesign #python

Published 2023-12-01 Ā· Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code