3 | 9,363 | 821 |
---|---|---|
articles | words | lines of code |
This article teaches the decorator pattern in Python, why it exists, how to use it, and when to use it to write efficient and idiomatic Python code.
Think of a number between 1 and 10. Multiply it by 9 and subtract 1. Now close your eyes. It got dark, didn't it?