Learn Python with Talk Python's over 250 hours of courses

Python = Syntactic Sugar?

Episode #441, published Wed, Dec 6, 2023, recorded Wed, Nov 1, 2023

You've probably heard the term "syntactic sugar", that is, syntax within a programming language that is designed to make things easier to read or to express. It makes the language "sweeter" for human use. It turns out Brett Cannon has spent 2 years diving into and writing about Python's sweet language features and how they really work down inside CPython. He joins me on the show today to dive into a few of the more relevant posts he's written about it.

Watch this episode on YouTube
Play on YouTube
Watch the live stream version


Links from the show

Brett Cannon: @brettcannon@fosstodon.org

Syntactic sugar series: snarky.ca
Syntactic sugar: wikipedia.org
Unravelling attribute access in Python: snarky.ca
Unravelling binary arithmetic operations: snarky.ca
Unravelling the import statement: snarky.ca
record-type: pypi.org
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Talk Python's Mastodon Michael Kennedy's Mastodon