Steven D'Aprano <[EMAIL PROTECTED]> writes:
> But if you used Apps Hungarian, and saw this line of code:
>
> if hmmCurrentHeight <= hinCriticalHeight:
>
> then you should instantly recognise that there's a problem. Comparing
> a height in millimetres to a height in inches is not a good thing to do,
> no matter that they're both floats.
That still sounds like an unreliable manual type system, instead of an
automatic type system that includes dimension analysis. You might
like this:
http://futureboy.homeip.net/frinkdocs/
There are many Python implementations of dimensioned units as well. I
posted one here a few weeks ago.
--
http://mail.python.org/mailman/listinfo/python-list