[Issue 10009] foreach_reverse and AA.byKey/byValue

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Sep 25 11:57:57 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=10009

--- Comment #18 from hsteoh at quickfur.ath.cx ---
+1 for 2. :-)

Implementing reverse traversal for what's essentially an arbitrary order is
meaningless at best, and gives a false sense of a non-existent fixed ordering.

I think retaining insertion order is a needless overhead; if you needed such a
thing, it should be implemented in the library instead.

--


More information about the Digitalmars-d-bugs mailing list