[Python-ideas] SI scale factors in Python

Chris Angelico rosuav at gmail.com
Thu Aug 25 07:44:18 EDT 2016


On Thu, Aug 25, 2016 at 9:24 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> If I try to add 30 feet to 6 metres and get either 36 feet or 36 metres,
> then your unit system is *worse* than useless, it is actively harmful. I
> don't mind if I get 15.144 metres or 49.685039 feet or even
> 5.0514947e-08 lightseconds, but I better not get 36 of anything.
>

To be fair, under the OP's proposal, you wouldn't get 36 *of anything*
- you'd just get the bare number 36. So it's not worse than useless,
just useless.

ChrisA


More information about the Python-ideas mailing list