On Monday, 5 August 2013 at 09:37:11 UTC, dennis luehring wrote:
this type of sub-branching "de-looping" is slow (if performance is relevant) and just not foreach-able, and so not functional-style programming - its called "for loop index micro management for unknown reasons" - but many programmers prefer it very much :)
It's caused by lack of inner functions in many languages - people use switch+flags or for loops to be more DRY.
