checking if a list is empty

alex23 wuwei23 at gmail.com
Wed May 11 23:16:01 EDT 2011


Hans Georg Schaathun <h... at schaathun.net> wrote:
> Revolutionary indeed, so why don't we exploit the revolution
> and write the programs to be as accessible as possible?

Where do you draw the line, though?

No decorators, as they're not intuitively obvious? No custom
descriptors, as that requires a deeper knowledge of Python internals
that utter ignorance allows?

Both of those aspects alone seem far more complex and advanced than
treating empty collections as False.



More information about the Python-list mailing list