Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Transforming Code into Beautiful, Idiomatic Python

    Next Day Video

    9 HN recommenders · recommended in 12 months, 2014–2022

    YouTube

    48:51 · 1.1M views · Mar 21, 2013

    Raymond Hettinger's PyCon 2013 talk on transforming code into idiomatic Python through a series of before-and-after refactorings. It shows how to use iterators, dictionaries, named tuples and other language features well.

    HN treats it as a must-watch classic for writing Pythonic code, though somewhat dated for modern Python.

    Software Engineering & LanguagesPython, Ruby & scripting languagesSoftware practice, open source & careers
    1. 45:08
      Raymond Hettinger - Dataclasses: The code generator to end all code generators - PyCon 2018PyCon 2018130K views • 8 years ago
    2. 1:10:00
      The Mental Game of Python - Raymond HettingerSF Python131K views • 7 years ago
    3. 1:07:41
      Modern Dictionaries by Raymond HettingerSF Python150K views • 9 years ago
    4. 40:01
      Keynote - Preventing, Finding, and Fixing Bugs On a Time Budget | Raymond Hettinger @ PyBay2018SF Python27K views • 8 years ago
    5. 1:01:45
      A Talk Near the Future of Python (a.k.a., Dave live-codes a WebAssembly Interpreter)David Beazley26K views • 7 years ago
    6. 1:13:53
      Raymond Hettinger, Keynote on Concurrency, PyBay 2017SF Python161K views • 9 years ago
    7. 3:26:34
      David Beazley - Lambda Calculus from the Ground Up - PyCon 2019PyCon 201952K views • 7 years ago
    8. 27:29
      Stop Writing ClassesNext Day Video962K views • 14 years ago
    9. 2:12:42
      Build Your Own AsyncDavid Beazley60K views • 7 years ago
    10. 44:03
      Google Developers Day US - Python Design PatternsGoogleDeveloperDay90K views • 19 years ago
    11. 30:52
      What nobody tells you about documentationPyCon AU105K views • 9 years ago
    12. 51:37
      Google Python Class Day 1 Part 1Google for Developers3.7M views • 16 years ago
    13. 1:54:11
      James Powell: So you want to be a Python expert? | PyData Seattle 2017PyData508K views • 9 years ago
    14. 38:47
      RailsConf 2014 - All the Little Things by Sandi MetzConfreaks190K views • 12 years ago
    15. 40:57
      "Hedy: A Gradual programming language" by Felienne Hermans (Strange Loop 2022)Strange Loop Conference17K views • 4 years ago
    16. 1:01:17
      RailsConf 2014 - Keynote: Writing Software by David Heinemeier HanssonConfreaks123K views • 12 years ago
    17. 29:21
      Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018PyCon 201838K views • 8 years ago
    18. 52:24
      Friday evening lightning talksNext Day Video6.4K views • 13 years ago
    19. 57:05
      Keynote: Begin...End?David Beazley9.5K views • 5 years ago
    20. 26:24
      Militarizing Your Backyard with Python: Computer Vision and the Squirrel HordesNext Day Video261K views • 14 years ago

    13 comments from Hacker News

    1. @jkaJan 2021· in “Software engineering topics I changed my mind on”

      Your mention of simple and clean code makes me think of the excellent talk "Transforming Code into Beautiful, Idiomatic Python". Although it relates to Python programming, if the ideas and principles (and thoughtfulness and pace) from it could be applied to much more written code, then (I think) we as an industry and all our users would be in a better place. [1] - this video

      Strongly recommendsView on HN
    2. @clusmoreJan 2017· in “Origins of Python's “Functional” Features (2009)”

      Must watch: this video I believe that the list comprehension will be faster than filter, but as always, any time you replace readable code with unreadable code for performance reasons, you damn well better time it.

      Strongly recommendsView on HN
    3. @bhoetingNov 2017· in “Ask HN: Which programmer do you look up to?”

      I've never heard of Raymond Hettinger before but I'm currently watching one of his videos [1] and it's amazing. Thanks for sharing your list, I'll definitely look up some more of these people. [1] this video

      Strongly recommendsView on HN
    4. @kzrdudeMay 2021· in “Writing Pythonic Rust”

      Raymond Hettinger's talks are great. I know it's not a succint blog post, but they are out there are watching a video is very approachable. Maybe [LINK] (Dataclasses! We could cheekily say Python gets better at something Rust does - dataclasses makes Python better at records.) And [LINK] This talk (2013): this video Unfortunately this video is now a bit out of touch with modern Python. Another (2013) classic: [LINK] it is very well known, and it has the very memorable advice: what's a class that only has one method? That should be a function!

      RecommendsView on HN
    5. @mumblemumbleMay 2022· in “Python-patterns – A collection of design patterns/idioms in Python”

      For an alternative perspective, allow me to present some classic talks from Raymond Hettinger. First, some generic tips on how to write Python code that's pleasant to work with: this video And then this one digs more specifically into how not to write Python like it's Java, starting at 12:40 (with talking about why leading up to that): [LINK]

      RecommendsView on HN