API redesign progress

Artur Wroblewski wrobell at pld-linux.org
Thu Jul 5 17:58:24 UTC 2012


On Thu, Jul 5, 2012 at 4:20 PM, Jef Driesen <jefdriesen at telenet.be> wrote:
[...]
> BTW, with the dc_sample_get_xyz() accessor functions we can extend them
> to accept a unit parameter, and return the value in the requested units
> (e.g. si, metric or imperial) directly. Although it might be a bit
> overkill and better to leave unit conversion to the application. Just a
> thought.

IMHO, stick to SI. It is a standard... Pisses off everyone, but at the same
time does not make happy anyone like metric or imperial do. For me unit
conversion belongs to presentation layer. Of course,  respect to those
who disagree. ;)

[...]

Regards,

w




More information about the Devel mailing list