~/talk

The Art of One-Liners

TalkinRussianat PiterPy 2024 · 2024-09-18..09-27· [python, functional-programming]
links:none on file
slides:none on file

Covers techniques for writing Python solutions as single expressions by using functional programming concepts, lazy evaluation, and lesser-known language tricks; the first part explains core FP ideas and concise idioms for common tasks, the second part demonstrates advanced and “dirty” tricks to push one-expression solutions further.

AI-written summary · about

  1. 0:00One-liners intro
  2. 1:53About speaker
  3. 3:01What is expression
  4. 6:14Functional basics
  5. 8:19Python walrus operator
  6. 10:50Python lazy evaluation
  7. 14:41Sum of squares task
  8. 18:15Logical vs bitwise ops
  9. 21:29Sum even numbers
  10. 22:34Frequency with Counter
  11. 23:17Check anagrams
  12. 25:24Dirty functional
  13. 27:32First positive element
  14. 29:01Reverse tree traversal
  15. 31:52Linked list iteration
  16. 34:20Two-sum problem
  17. 35:45Max zeros-ones split
  18. 37:10Any task solvable?
  19. 38:36Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.