Is vars() the most useless Python built-in ever?
John Gordon
gordon at panix.com
Tue Dec 1 11:56:04 EST 2015
In <4f0f7fc5-c93a-4223-9c05-e192a8fafbbd at googlegroups.com> Rick Johnson <rantingrickjohnson at gmail.com> writes:
> Your lament does remind me of a pet peeve i have concerning Python, and
> that is, the lie about: "THERE SHOULD BE ONE (AND PREFERABLY ONLY ONE)
> WAY TO DO IT!". In fact, in python there is almost always *MANY* ways to
> achieve the same output.=20
The koan reads:
There should be one-- and preferably only one --obvious way to do it.
You left out the rather important word "obvious".
--
John Gordon A is for Amy, who fell down the stairs
gordon at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list
mailing list