Explore >> Select a destination


You are here

ykarroum.com
| | thepythoncorner.com
4.0 parsecs away

Travel
| | Hi Guys, in today's article, we will discuss Python decorators. Decorators are not a python-only feature, they exist in many other languages and are important if you aim to write clean, professional, and reusable code. A decorator is a function that extends other functions that are passed as a parameter, adding new features without the need of changing their code. This can seem a little magical to a beginner's eye, but it's really easy actually because all you have to do is to create a function (the so-called "decorator function") that takes another function as an argument (the "decorated function")...
| | chipx86.blog
5.4 parsecs away

Travel
| | More than you probably ever wanted to know about Python function signatures and typing shenanigans. And it's just the start.
| | florimond.dev
3.5 parsecs away

Travel
| | A memo on implementing parametrized decorators whose default behavior doesn't require empty parentheses.
| | jimpurbrick.com
19.9 parsecs away

Travel
|