~/talk

Abstraction for students of all the things

Talkat PyCascades 2019 · 2019-02-23..02-24· [python]
slides:none on file

Argues that teaching concrete choices about use datetime objects instead of slicing strings, and about enumerate and duck typing for iteration, lifts scientists out of brittle one-off scripts into reusable code. Cites stdlib concepts like urllib.request and SSL sockets as explicit abstractions, recommends io for file-like objects, warns of the mutable default-argument gotcha and the abstraction vs performance tradeoff, and points to NumPy/Pandas as ready data-representation tools that usually work.

AI-written summary · about

  1. 0:00Start
  2. 5:17ABSTRACTION AND MENTAL CHUNKING
  3. 10:47FIRST ENCOUNTERS WITH ABSTRACTION IN PYTHON
  4. 14:08WRITING YOUR OWN ABSTRACTIONS
  5. 17:19ABSTRACTION PITFALLS
  6. 19:03SOME PYTHON GOTCHAS ARE RELATED TO ABSTRACTION The mutable default function argument gotcha
~/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.