07:31You Can Do Really Cool Things With Functions In Python
From the creator
š” Learn how to design great software in 7 steps: https://arjan.codes/designguide. Here are a few not-so-common things you can do with functions in Python, including closures and partial function application. Functions are incredibly powerful and you can use them to write code that's really clean and often a lot shorter than when relying on classes and object-oriented programming. The code I worked on in this video is available here: https://github.com/ArjanCodes/2022-functions. š 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:32 Explaining the code example 3:56 About the Strategy pattern 4:29 Replacing the class structure by functions 9:24 Passing extra parameters using closures 13:37 Using partial functions #arjancodes #softwaredesign #python
Published 2022-03-18 Ā· Watch on YouTube ā
Availability and playback restrictions are controlled by the original channel.





