Following up from the reddit announcement

bearophile bearophileHUGS at lycos.com
Mon Feb 24 14:19:53 PST 2014


Steven Schveighoffer:

> And it works fine. Note I had to add \n to the readf to use a 
> one-number-per-line style (didn't make sense otherwise).

Also the code throws if just hit enter (it means you enter no 
number). So the code is still bad. Also using sort instead of 
sort() is an anti-pattern that's going to be deprecated, 
hopefully in D 2.066.

Bye,
bearophile


More information about the Digitalmars-d mailing list