"Strong typing vs. strong testing"

MRAB python at mrabarnett.plus.com
Tue Sep 28 14:40:19 EDT 2010


On 28/09/2010 19:21, George Neuner wrote:
> 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".]
>Do you mean:
 42 US gallons ≈ 34.9723 imp gal ≈ 158.9873 l
The post as I received it was encoded as 7-bit us-ascii, so definitely
no double-tilde. This post was encoded as utf-8.


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /