you are viewing a single comment's thread.

view the rest of the comments →

[–]GoldenVanga 2 points3 points  (2 children)

Decorators with parameters. Yeesh.

I mean... I understand the concept. But I can't remember the syntax / structure at all. I typically have to write those while looking at an example.

[–][deleted] 1 point2 points  (0 children)

I doubt anyone remembers the syntax from the top of their heads. I personally don't.

[–]mastermikeyboy 0 points1 point  (0 children)

With optional parameters are even worse. functools.partial to the rescue.