Putting both concepts on one class would be confusing and lead to bugs in user apps IMO. Somewhat akin to getting metric and imperial quantities mixed up and crashing a Mars lander ;-)
You have to pick a unit a stick to it. Gary On Mar 15, 2016 2:48 AM, "Emmanuel Bourg" <[email protected]> wrote: > Le 14/03/2016 03:56, Gary Gregory a écrit : > > Looking for feedback if anyone is interested... > > I like the idea, I wonder if we could design something simpler and more > unified. Maybe a single SizeUnit enum with SI and IEC names mixed (KILO, > KIBI, MEGA, MEBI, etc) ? > > Emmanuel Bourg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
