Unravelling decorators

For the next post in my syntactic sugar series [https://snarky.ca/tag/syntactic-sugar/], I thought I would tackle decorators [https://docs.python.org/3.8/reference/compound_stmts.html#function-definitions] . Let's look

Unravelling data structure displays

The title of this next post in my series on Python's syntactic sugar [https://snarky.ca/tag/syntactic-sugar/] may seem odd: what's a "display" when it comes to data structures? It turns out

Unravelling comprehensions

After failing to unravel generator expressions [https://snarky.ca/not-unravelling-generator-expressions/], in this post as part as my Python syntactic sugar post series [https://snarky.ca/tag/syntactic-sugar/] I want to tackle comprehensions. Thanks

Unravelling generator expressions

In this post on Python's syntactic sugar [https://snarky.ca/tag/syntactic-sugar/], I want to try to tackle generator expressions [https://docs.python.org/3.8/reference/expressions.html#generator-expressions]. If you look

© 2013 Brett Cannon