▲ 2 ▼ What is your favorite Python syntactic sugar? (beehaw.org) submitted 2 years ago by Cwilliams@beehaw.org to c/python@programming.dev 7 comments fedilink hide all child comments The thing I love about python is it's elegance; and I thing that is partially due to its syntactic sugar. Between list comprehensions, destructuring, enumerators, generators with yield, and a bunch more, what is your favorite
[–] KaczuH@lemmy.ml 1 point 2 years ago Decorators are one of most useful features I'm using most frequently. permalink fedilink source