At 11:13 AM 6/11/03 -0400, Guido van Rossum wrote: > > >Well, nested classes aren't exactly a recommended idiom in Python... > > > > The only thing I ever use them for is for defining a descriptor that > > goes inside that class (and isn't used by other classes). It reads > > much more naturally than defining the descriptors outside the class, > > and then putting them in. > >Whether or not that reads more naturally depends on other factors, >like who is reading the code. Of course. There is a developer who sits a couple of cubicles down from me who finds Perl more readable than Python. :) I was only commenting on *my* use for the idiom, which you once described as "a good use of nested namespaces". I suppose I could start qualifying all my statements with "to me" and "from my perspective", but I struggle to keep my verbosity in check as it is. :)
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