In Python, a name is a sticker, not a box
Two names can sit on one object. Whether it can change is what makes lists and strings behave differently.
What you'll learn
- Why b = a is a second name, not a copy
- Which Python types change in place and which are replaced
- How the mutable default argument bug gets written
Share this passage
Drawing…
Understand it one step at a time
The short runs these in order in about 24 seconds. Here they are written out — pick any step to jump the short straight to it.
Free app · no app store
These are built for a phone
Every short is drawn at full portrait height, the shape a phone already is. Installed, it opens full-bleed with no address bar across the top — and the whole library reads offline.
More shorts
-
Azure
The queue was in order. Your workers were not.
12 steps · 50s
-
Azure
The outage lasted 18 minutes. Your retries lasted 4 seconds.
12 steps · 50s
-
Azure
The agent worked fine. It cost $4,260.
12 steps · 51s
Get new posts by email
New technical articles, Azure AI and GitHub Copilot updates, and upcoming events. No spam, unsubscribe anytime.