syntactic sugar

"In computer science, syntactic sugar 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: things can be expressed more clearly, more concisely, or in an alternative style that some may prefer." -- https://en.wikipedia.org/wiki/Syntactic_sugar

Unravelling `async` and `await`

For this post in my Python syntactic sugar [https://snarky.ca/tag/syntactic-sugar/] series, I am going to cover async and await. Now when I started to think about this post I was

Unravelling the `with` statement

As part of my series on Python's syntactic sugar [https://snarky.ca/tag/syntactic-sugar/], I want to tackle unravelling the with statement [https://docs.python.org/3.8/reference/compound_stmts.

Unravelling the `pass` statement

This is the next post in my series on Python's syntactic sugar [https://snarky.ca/tag/syntactic-sugar/]. It's unfortunately been a while since my last post due to Python

Unravelling `for` statements

As part of my series on Python's syntactic sugar [https://snarky.ca/tag/syntactic-sugar/], I am going to cover the for statement [https://docs.python.org/3.8/reference/compound_stmts.

Unravelling assertions

In this post, as part of my series on Python's syntactic sugar [https://snarky.ca/tag/syntactic-sugar/], I'm going to cover assert statements. Now, the actual unravelling of the

© 2013 Brett Cannon