On Thu, 2004-02-26 at 08:31, Jeremy Fincher wrote: > > sync = synchronized(lock) > > def sync classmethod func(a): > > This is much more readable, IMO, than: > > def func(a) [synchronized(lock), classmethod]: Odd - I feel the exact opposite. The first form looks like "def blah blah blah" to me - there's nothing obvious to say *what* is being defined. By contrast the second form clearly defines "func" and gives some extra information about it. The name and parameters are more important than the additional information, so they ought to come first. Mark Russell
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