From: Michael Hudson > "Delaney, Timothy C (Timothy)" <tdelaney at avaya.com> writes: >> Anyway, those are my thoughts on the whole topic. I'm: > > Nice work. > >> +1 on syntax for decorators attached to function definitions >> +1 on def foo (bar) [baz]: >> +0 on def foo (bar) as baz: if there's a way to extend it multi-line. >> -1 on all the other proposed syntaxes. >> -1 on restricting it to specific decorators such as classmethod > > I agree, FWIW. Agreed, on all counts. Also, while people are currently coming up with some fairly extreme uses of the new feature, I don't think that's a particularly bad thing. As with any new construct, it can be abused, but in practice, good taste will prevail, and in the meantime, the experimentation just proves the flexibility of the feature. Paul.
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