~/talk

Functional Python

Talkat PyCon US 2021 · 2021-05-14..05-15· [python]
links:none on file
slides:none on file

Hands-on Jupyter notebooks use JupyterLab with conda and the codebase imports more_itertools, toolz, functools, itertools, operator; notebooks and HTML/PDF exports land on the conference site. Concrete claims: closures and currying produce callable factories, functools.partial pre-binds args, generators and map/filter create lazy pipelines, and recursion shows a real cost — recursion becomes ~2–4× slower and hits Python's recursion limit (~3000). Exercises plus solutions and runnable examples let one reproduce timings, iterator recipes, and the small composable utilities that actually work.

AI-written summary · about

  1. 0:00Start
  2. 3:51How Long Are You Using Python
  3. 7:07Basics about Functional Programming
  4. 8:26Programming Basics
  5. 8:59Imperative Programming
  6. 9:20Object-Oriented Programming
  7. 9:49Declarative Programming
  8. 11:21Features
  9. 12:15Immutable Data Structures
  10. 13:48No Global State
  11. 14:18Advantages
  12. 16:07Parallel Programming
  13. 16:39Live Updates
  14. 17:23Disadvantages
  15. 19:13Python Function Features
  16. 20:01Decorators
  17. 20:24Modules
  18. 28:27Side Effects
  19. 29:14Functions Are Objects
  20. 30:15Functions as Keys and Dictionaries
  21. 35:26Closure
  22. 47:49Partial Function
  23. 48:15Partial Function Application
  24. 51:34Print Function
  25. 56:49Mutable Side Effects
  26. 1:01:49Recursion
  27. 1:20:07Lambda
  28. 1:24:56Map Filter Entries
  29. 1:26:38Iterators
  30. 1:30:17Operator Module
  31. 1:30:38Filter
  32. 1:38:21Mapreduce
  33. 1:41:17Add Function
  34. 1:42:33Python Keywords
  35. 1:43:08Operators
  36. 1:44:57Attribute Gator
  37. 1:48:48Exercises
  38. 1:49:15Comprehensions
  39. 1:49:42Nested Comprehension
  40. 1:50:18Set Comprehensions
  41. 1:53:29Iterator
  42. 2:04:51Repeat
  43. 2:07:57Slicing
  44. 2:11:21Dictionary Comprehensions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.