You Can Do Really Cool Things With Functions In Python

Published: 18 March 2022
on channel: ArjanCodes
237,870
7.2k

💡 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-fu....

🎓 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


On this page of the site you can watch the video online You Can Do Really Cool Things With Functions In Python with a duration of hours minute second in good quality, which was uploaded by the user ArjanCodes 18 March 2022, share the link with friends and acquaintances, this video has already been watched 237,870 times on youtube and it was liked by 7.2 thousand viewers. Enjoy your viewing!