[Python-3000] symbols?
Oleg Broytmann
phd at mail2.phd.pp.ru
Tue Apr 11 08:47:08 CEST 2006
On Tue, Apr 11, 2006 at 12:58:47AM -0400, Kendall Clark wrote:
> Hmm. Tastes vary, obviously. I don't consider using ? to signal
> boolean returning functions or methods to be random.
They look ugly in expressions:
if python.has_punctuation?() and someone.uses_it_often?:
print "Please don't do it!"
PS. .uses_it_often? is an attribute, not a function here...
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-3000
mailing list