Simplifying Python Code through the Lens of Functional Programming - Artem Kislovskiy - PyCon Italia 2024
Elevator Pitch:
Exploring functional languages taught me useful tricks to enhance Python code. The talk introduces essential concepts such as pure functions and immutable values, empowering developers to create more efficient and manageable Python code for large projects.
Description:
I have been writing Python programs for many years but had never been truly exposed to functional programming. I used to view functions as language constructs that facilitated the implementation of the "don't repeat yourself" (DRY) principle. Iterators and generators are excellent; I knew they were somewhat related to functional programming and inspired by Haskell, but is this all functional programming is about?
Taking a step into Scala helped me realize the power of functional programming and influenced to incorporate more functional code into my Python projects. To my surprise, the Python code became more readable and easier to test and maintain.
This talk focuses on writing simpler Python code, aiming to share a set of techniques for assembling a functional toolkit. You will learn about pure functions, immutable values, and how they contribute to keeping the code simple, even in large projects.
Learn more: https://2024.pycon.it/event/simplifyi...
#TestDrivenDevelopmentTDD #BestPractice #FunctionalProgramming
Смотрите видео Simplifying Python Code through the Lens of Functional Programming - Artem Kislovskiy онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Python Italia 30 Июнь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 114 раз и оно понравилось 3 людям.