You Can Do Really Cool Things With Functions In Python

Publicado el: 18 marzo 2022
en el canal de: 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


En esta página del sitio puede ver el video en línea You Can Do Really Cool Things With Functions In Python de Duración hora minuto segunda en buena calidad , que subió el usuario ArjanCodes 18 marzo 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 237,870 veces y le gustó 7.2 mil a los espectadores. Disfruta viendo!