'is not' or '!='
Ben Finney
ben+python at benfinney.id.au
Tue Aug 19 19:24:00 EDT 2014
Tim Chase <python.list at tim.thechases.com> writes:
> Am I the only one who feels the urge to write
>
> if i am some_other_object: ...
> if we are some_other_object: ...
> if u are some_other_object: ... # though txtspk bothers me
How often do you need to refer to an object with personal pronouns? I
think for me the answer is “never”. Why not name the specific role the
object is playing, rather than the indirectness of personal pronouns?
So, in short: you may not be the only one, but I find it difficult to
imagine why anyone would be motivated to do that.
--
\ “When I was born I was so surprised I couldn't talk for a year |
`\ and a half.” —Gracie Allen |
_o__) |
Ben Finney
More information about the Python-list
mailing list