RFC: SI Units facility for Phobos

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Jan 1 14:17:59 PST 2011


On 1/1/11 3:56 PM, Simon wrote:
> On 01/01/2011 20:24, Andrei Alexandrescu wrote:
>>>
>> * In the proposed design the user can define a lot of distinct types,
>> such as Miles, Yards, and Lbs, which are strictly unnecessary
>> (Kilometers, Meters, and Kilograms could be used instead, with
>> appropriate I/O conversions to and from other units).
>
> Nope. Where I work we've had complaints before from American customers
> where we've done calcs in SI and then converted to Imperial.
>
> For engineering it's important to be able to do your calcs in the
> correct unit system.

You sure can!

Andrei


More information about the Digitalmars-d mailing list