Are the critiques in "All the things I hate about Python" valid?
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Tue Feb 20 18:43:00 EST 2018
On Tue, 20 Feb 2018 12:42:23 -0800, Rick Johnson wrote:
> For instance, if the age is queried many times a second, it would be a
> much wiser design to set-up an event that will advance the age at the
> end of the last second of every year
Do you really mean to say that everybody in the world has their birthday
on January 1st? We're not racehorses you know.
Under your scheme, 99.7% of records will return the wrong age (off by
one) at least once per year. Statistically, 50% of queries will be wrong.
--
Steve
More information about the Python-list
mailing list