@cdome the openArray makes no difference in this regard. It's a (pointer, 
length) tuple, so you have to increment an iterating pointer, or keep an 
integer offset and do pointer arithmetics from the start pointer. both are 
stateful, and just equally as stateful as an interator. Except you've just made 
a regression, because iterators support linked lists or any esoteric memory 
layout, but (pointer, length) do not. I insist, this is not bad design, 
decoupling is a good principle. c.f. 
[https://www.youtube.com/watch?v=ltBdTiRgSaw](https://www.youtube.com/watch?v=ltBdTiRgSaw)
 from 1':00

Reply via email to