In article <7x8wj4uxnb....@ruckus.brouhaha.com>, Paul Rubin <http://phr...@nospam.invalid> wrote: > >Anyway, Python's overloading of bool(...) is yet another misfeature >and although it's convenient, the "explicit is better than implicit" >principle indicates to avoid that sort of trick.
Well, trading "tricks" (I would call it idiom) for explicitness, made some people (you know ..) hate Pascal. Einstein introduced the summation convention for indices that are used twice. Leaving out summation signs is absolutely hideous, but it has saved generations of physicists of loosing track (and their minds.) Also ... For me there is nothing more clear than a regular expression search that returns None if nothing matches. Groetjes Albert -- -- Albert van der Horst, UTRECHT,THE NETHERLANDS Economic growth -- being exponential -- ultimately falters. alb...@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst -- http://mail.python.org/mailman/listinfo/python-list