On 01/29/2013 09:34 PM, Walter Bright wrote:
On 1/29/2013 11:44 AM, Robert Schadek wrote:
I have a Deque implementation that I really like. I would like to get
some
comments on it.
One thing that jumped out at me was the declaration of "Iterator". D
convention is to use ranges, not iterators. Calling something an
iterator suggests it behaves like a C++ iterator.
The comments say it is a range - it should be named RandomAccessRange,
because that's what it is.
The naming is bad. Thats pretty much clear now.