"Justin Johansson" <proc...@adam-dott-com.au> wrote in message news:h8ddv4$1i6...@digitalmars.com... > >> > 4. Too many different ways of doing things. All very interesting and >> > no >> Examples? I can tell you that D has too many looping constructs: goto, >> for, foreach, foreach_reverse, do-while, while, recursive functions, > It's how I felt at the time .. 6-9 months ago .. memory has a tendency to > fade when you decide to move on. I'm far from expert at D yet, but, > agree, "foreach_reverse" appears somewhat alarming. >
Fortunately, that opinion seems to be shared with even the top D people, AIUI. The 'foreach_reverse' dates back from long before ranges. With D2, using 'foreach' over a reversable range is generally the preferred way to go. I wouldn't be surprised to see 'foreach_reverse' dissapear at some point.