
Are Functions Data? with Yehonathan Sharvit
Software Unscripted
Is There Such as a Python Dict Literal?
There is no literals for dicts in Python. There might be for dictionaries. I think it's a one great contribution of Java script to the overall programming language ecosystem. Every Python class is baked by a dict. And the dict is accessible. So you can either access the data via class A with a field B via a dot B, but you can also do a dot underscore underscore dict underscore underscore and get a. Huh. It looks like I was just looking for the wrong thing, then. All right. Today I learned.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.