The Mental Game of Python – Raymond Hettinger

This talk was presented at PyBay2019 – 4th annual Bay Area Regional Python conference. See for more details about PyBay and click SHOW MORE for more information about this talk.

or “Strategies learned from coaching, teaching, and StackOverflow”

If you work with thousands of developers, ranging from the experienced to the aspirational, you can see what patterns of thought seem to confer success. Raymond shares what he’s seen that works best for developing problem solving skills, learning how to learn, how to get unstuck, and reliable strategies for managing complexity.

The talk includes live coding examples to make these ideas concrete.


Original slides:

About the speaker
Python core developer. Certified Public Accountant. Freelance programmer/consultant/trainer. Husband to Rachel. Father to Matthew.

Sponsor Acknowledgement
This and other PyBay2019 videos are via the help of our media partner AlphaVoice (

#pybay #pybay2019 #python #python3


Xem thêm bài viết khác:

  1. Rusty Powers 4 months ago

    are you telling me Python is designed to do everything in 7 lines of code or lease?! mind blown

  2. Jason Kenney 4 months ago

    I didn't realize the developer of python was also a wizard.

  3. Calle Liljeholm 4 months ago

    It's very ironic that the video of a great talk about how to ease your mental load turned out to use an immense amount of registers because of a simple editing mistake. As it is, with the code lagging behind the audio and video, it's very hard to follow along.

  4. Rava Bat 4 months ago

    Hey people, tell me please, are there his lessons on the Thanks

  5. smanzoli 4 months ago

    Nice! Please imagine this program:

    a = [1]
    b = [1]
    b[0] = 2
    print(a, b)
    out: 1 2 (perfect)

    Then this variation, that should be the same:
    a = [1]
    b = a
    b[0] = 2
    print(a, b)
    out: 2 2 (WHY???? why a is changed as well???)

  6. mujkocka 4 months ago

    🙂 best teacher ever! funny and so memorable.

  7. Sanjay Subramaniam 4 months ago

    There's an in-sync version on youtube:

  8. Javier López 4 months ago

    Sadly code out of sync

  9. burbon ­ 4 months ago

    Fantastic lecture!
    BTW – you can tell he was stressed out because in the first 15 minutes his registers were on fire 🙂
    Example: 15:31 "there's too many, can I take it 0 to 1"

  10. Diachron 4 months ago

    It's tragic that a great presentation about reducing cognitive load is impaired by the cognitive load increase induced by the video sync error.

  11. Learn in 15 Minutes 4 months ago

    Great music

  12. TheFunnyBuddy 4 months ago

    5:53 Jigabytes
    I'm not alone.

  13. Laggy Max 4 months ago

    The occasional "uhh" is him running out of registers.

  14. Manoj Kumar 4 months ago

    every time i see the tutorials from him…. "Who Learned Something New", when he asks, in my mind I say, "I did, sir!"

  15. Manoj Kumar 4 months ago

    I wish to have brain and teaching style like prof. Raymond Hettinger has…. sir, you make me feel jealous… unfortunately… 😊

  16. Bernoulli 4 months ago

    Holy heck, Raymond's talks are always jam packed with useful info–but the graph traversal idea at the end (1:04:57) deserves its own short lecture. What an awesome way of summarizing a strength of python.

  17. Golden Knight 4 months ago

    The Mental Game of Python… being too dumb to understand Clojure.

  18. Karlsson 4 months ago

    Please give this guy an extra hour next time.

  19. Tech Ma 4 months ago

    Here's a synced version:

  20. Fred Warren 4 months ago

    Learning much from it. The first section on chunking is also covered in the ancient book "Thinking FORTH". You build a program by giving each function a name, and creating functions with only 7 +/- 2 commands in them. The complexity is hidden in well named low level functions. Then all you do is speak a vocabulary of high-level functions.

  21. Jay Dee 4 months ago

    How do we know which code uses which register? Is he implying that we need to understand the resource usage of python instructions?

Leave a Comment

Your email address will not be published.

You may also like