Episode 1 - The Secret Life of Python


Timothy arrives at the library, laptop open, wearing a frustrated expression that Margaret recognizes immediately.

Timothy: “Margaret, can I ask you something about Python decorators?”

Margaret: looks up from her desk, closing the book she was reading “Of course. Show me what you’re working with.”

Timothy: turns his laptop around “It’s this @cache decorator. I mean, I know what it does - it makes recursive functions faster. But I don’t understand how it does it. Where does it store the cache? How does it know what to cache? It just feels like... magic.”

Margaret: nods thoughtfully “And you don’t like magic.”

Timothy: “Not in code, no. I can use it, but I can’t explain it. That bothers me.”

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help