First page Back Continue Last page Overview Graphics
notes
Best used when the function and the decorator are solving distinct problems.
Avoid the Java file types thing where decorators are confused with subclassing.
Boilerplate code for decorators is required unless you use @decorator.
Still need boilerplate to pass extra parameters to your decorator, e.g., @check_level(ADMIN)