On 1/11/19 1:25 PM, 0xEAB wrote:
On Friday, 11 January 2019 at 13:51:04 UTC, JN wrote:
On Friday, 11 January 2019 at 11:15:05 UTC, Mike James wrote:
Check out the origin :-)
https://forum.dlang.org/thread/hl8345$2b1q$1...@digitalmars.com?page=1
I guess something like iterReverse, reverseIter, backIterator would be
too simple...
Of course. I would protrude from all other functions with their weird
names then.
Just kidding. Although...
I have to admit it happened more than just once that I thought, "oh...
another function that's named exactly different from what I'd have gone
with."
Part of the problem is that arr.reverse already was defined a long time ago.
The thing about retro, is that even though it's not what I would think
of for this operation, I have never forgotten the name since ;)
-Steve