std.compress

SomeDude lovelydear at mailmetrash.com
Wed Jun 5 11:56:12 PDT 2013


On Wednesday, 5 June 2013 at 18:36:34 UTC, David Nadlinger wrote:
> It also doesn't utilize template constraints, reinvents 
> isRandomAccessRange && hasSlicing under a poor name, uses C 
> printf (!) in the examples, has random 2-3 letter variable 
> names (dis, dip, di, si) all over the place, …
>
> David

Walter explained that calling printf allowed him not to import 
half of std. I think it's a good practice to limit dependencies 
to a reasonable minimum. Of course, it's hard to come up with a 
general rule as to what "reasonable" means here.


More information about the Digitalmars-d mailing list