Ken Manheimer wrote: > Oh my. I'm in the unfortunate position of liking this more than any of the > other options i've seen - while strongly suspecting you were not serious, > and would think a fool anyone that would consider it for a moment. Ah > well. The truth is out. > > The only adjustment i would make is to not include the ":" on the modifier > lines: > > def staticmethod > def author(name='yarrB') > def returns([int]) > def plugh(self): > return 42 Did you see the 'predef' proposal I posted the other day? It seemed perfect to me, but given the staggering lack of response to the post, I suspect others were rather underwhelmed. The above would become: predef staticmethod predef author(name='yarrB') predef returns([int]) def plugh(self): return 42 To me, 'predef' seems to shout "Look, I'm telling you something about the 'def' that you are about to encounter in a line or two." Ah well, guess I'll go back to being a lurker on the deco issue. . . Cheers, Nick. -- Nick Coghlan | Eugene, Oregon Email: ncoghlan at email.com | USA
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