Multi-file byte comparison tool. What would you have done differently?
Kai Meyer
kai at unixlords.com
Fri Aug 5 09:29:38 PDT 2011
On 08/04/2011 05:03 PM, Timon Gehr wrote:
> Kai Meyer wrote:
>> So the question is, how would you make it more D-ish? (Do we have a term
>> analogous to "pythonic" for D? :))
>
> An easy first step to improve the D-Factor would be to replace all these for loops
> with foreach loops and ref foreach loops.
>
> -Timon
I like D-Factor :)
I haven't done foreach(ref s; somethings) before. Interesting, thanks :)
More information about the Digitalmars-d-learn
mailing list