|
|
|
|
|
by medo-bear
604 days ago
|
|
You can also express LOOP constructs in terms of DO. However if you were to construct a more exotic iterator that is not so straight forward in LOOP (beware of edge cases), I think it is more reasonable to pick DO. I think also that your example illustrates this. |
|
I also find DO not easy to read and understand.
The code from above I would actually write in LOOP as
I find that to be readable.