Andrei's list of barriers to D adoption

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 6 12:42:26 PDT 2016


On Monday, 6 June 2016 at 19:30:52 UTC, Observer wrote:
> Also, keeping values as only integers complicates input/output
> formatting.  I want 123456 pennies to show up as either 1234.56
> or perhaps 1,234.56 (at least, I want that punctuation in a U.S.
> locale), and this should happen without my needing to manually
> rescale during i/o operations.

You can solve all these things with static typing, unless you 
want to vary the number of significant decimals at runtime. 
(well, you can then as well, but need 2 values)




More information about the Digitalmars-d mailing list