proposed language change to int/int==float (was: PEP0238 lament)

sburrious sburr at home.com
Wed Jul 25 20:29:54 CEST 2001


lomax at pumpichank.com (Frank "Cookie Jar" Lomax) wrote in message news:<mailman.996073073.17868.python-list at python.org>...
> >   To many of us, programmers, 1/2 is 0 with 1 as a reminder:)
>     > We are like children, and any child will say _for sure_ that 1
>     > cookie for two children means one cookie for 1 child and 0
>     > cookies for another:)
> 
> No, 1 cookie for 2 children always means no cookies for either child,
> lots of crumbs for the dog to lick up, and years of therapy for the
> entire family.
> 
> proof-that-integer-division-causes-thousands-of-disfunctional-families-
>     per-year-and-must-be-abolished-ly y'rs, - frank

Unless you use the old trick of having one child divide the cookie and
the other choose which piece he or she wants.

would-there-were-such-a-solution-to-the-int-division-debate-ly y'rs,
sburrious



More information about the Python-list mailing list