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 :)