Hello, I think @ before def are unacceptable because they aren't too Pythonic and thus break style and aestetics of Python. If we absolutely need those decorators, I propose to use existing construct which has some resemblance with other places of Python: def func(x, y, z) % decorator: ... and def func(x, y, z) % (decorator1, decorator2, ...): ... this has a meaning of "applying" decorators to the function (method). And it has minimal impact on readability. Sincerely yours, Roman A.Suzi -- - Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4