Skip to content
0:00 / 0:00

#raymondhettinger#cognitiveload#chunking

The Mental Game of Python - Raymond Hettinger [synced version]

Tech Ma

84 subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 on Hacker News.
  • Presented by Raymond Hettinger, Python Core Developer

Intermediate. Assumes working knowledge.

23K views6 years ago2 recommendations

Programming languagesTools and practicePythonDeveloper productivityDesign patterns

Raymond Hettinger explains mental strategies for programming in Python, focusing on reducing cognitive load through chunking, aliasing, and simpler problem-solving.

All credit goes to SF Python: youtube.com/channel/UC51aOZF5nnderbuar5D5ifw Timestamps (credit: Станислав Купряхин): Intro Overview of strategies Strategy: Chunking and Aliasing Example: Random module Strategy: Solve a related but simpler problem "The Feynman Algorithm" Strategy: Build classes independently and let inheritance discover itself Strategy: Repeat tasks manually until patterns emerge, then move to a function Strategy: Consider object oriented programming as a graph traversal problem Video synced using Blender. Original video: youtube.com/watch?v=UANN2Eu6ZnM Original Description: This talk was presented at PyBay2019 - 4th annual Bay Area Regional Python conference. See pybay.com for more details about PyBay and click SHOW MORE for more information about this talk. Description 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. 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 (alphavoice.io/)!

Why it's here

2 people recommend this

What people say. Highly recommended for its insights into managing working memory limits and reducing cognitive load when writing and reading code.

sireaton Hacker News • Recommends

On “List of YouTube channels for improving web development and programming skills”

Raymond Hettinger is such a treasure! He keeps things simple and in the process you actually learn. I tend to overload the registers when teaching and students do not learn as much. All teachers know the feeling when students eyes glaze over, something that is so much harder to detect in the age of Zoom and Teams. PS link to this video there is a sync fixed version of the talk

skimdeskon Hacker News • Recommends

On “Coding and Confusion”

Raymond Hettinger gave an entertaining talk 0 on a related topic. He taled about how the working memory limits are reflected in code, and how we can reduce the necessary cognitive load of understanding a piece of code. 0 link to this video

zahlmanon Hacker News • Mentions

On “Everything old is new again: memory optimization”

> It's a bit cleaner. That's pretty much the reason why. Raymond Hettinger explains the philosophy well while discussing the `random` standard library module: link to this video I feel like much of this has been forgotten of late, though. From what I've seen, i's really quite hard to get anything added to the standard library unless you're a core dev who's sufficiently well liked among other core devs, in which case you can pretty much just do it. Everyone else will (understandably) be put through a PhD thesis defense, then asked to try the idea out as a PyPI package first (and somehow also popularize the package), and then if it somehow catches on that way, get declined anyway because it's easy for ev…