Why Python Won’t Be Functional and Why Nobody Needs It Anyway
summary
The talk examines why Python is unlikely to become a functional programming language and why teams generally prefer imperative styles. It discusses the presenter’s experience trying to apply Haskell-like function composition in Python, the language features missing for full functional programming, possible workarounds or dialects to make Python code more declarative, and practical problems and trade-offs when introducing functional style into a team codebase.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 1:07Functional programming
- 3:57Higher-order functions
- 5:02Pure functions
- 8:58Recursion
- 13:17Why study FP
- 15:45Practical example
- 17:32Partial application
- 21:42Coconut dialect
- 26:19Pros and cons
- 28:26Q&A
- 29:07FP vs readability
- 31:56Debugging FP code
- 32:40Dependency injection
- 34:06Optional values
- 38:23Debugging functional style
- 38:45Adopting FP in teams
- 40:29Code coverage
- 42:36Small FP practices
- 44:07Python’s design
