"Strong typing vs. strong testing"

George Neuner gneuner2 at comcast.net
Tue Sep 28 14:21:29 EDT 2010


On 28 Sep 2010 12:42:40 GMT, Albert van der Horst
<albert at spenarnc.xs4all.nl> wrote:

>I would say the dimensional checking is underrated. It must be
>complemented with a hard and fast rule about only using standard
>(SI) units internally.
>
>Oil output internal : m^3/sec
>Oil output printed:  kbarrels/day

"barrel" is not an SI unit.  And when speaking about oil there isn't
even a simple conversion.

  42 US gallons  ?  34.9723 imp gal  ?  158.9873 L

[In case those marks don't render, they are meant to be the
double-tilda sign meaning "approximately equal".]

George



More information about the Python-list mailing list