Questions about app design - OOP with python classes

Erik Max Francis max at alcyone.com
Fri Mar 2 00:48:50 EST 2007


Steven D'Aprano wrote:

> A type system doesn't help. So what if they're both floats? The test
> is still bogus, your code will still wait too long to engage the
> retro-rockets, and the billion dollar space craft will still be travelling
> at hundreds of miles an hour when it reaches the surface of Mars.

It was units of momentum that were inappropriately compared, actually. 
(And it broke up before hitting the ground, but that's a minor quibble.)

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 20 N 121 53 W && AIM, Y!M erikmaxfrancis
   Possibilities travel / Endless through infinity
    -- Chante Moore



More information about the Python-list mailing list