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

  • onlinepersona
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    decorators and the match statement for pattern matching. Finally have a switch statement, even if Guido didn’t want it. It’s just an advanced switch statement.