31
Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 32 posts.
32
PEP 318 – Decorators for Functions and Methods
The current method for transforming functions and methods (for instance, declaring them as a class or static method) is awkward and can lead to code that is difficult to understand. Ideally, these transformations should be made at the same point in the...