Is this a valid (ab)use of lambda expressions?
Like we all know, it's not that easy to break from a nested loop out of an outer loop without either: a goto ( Example code. ) another condition check in the outer loop ( Example code. ) putting both loops in an extra function and returning instead of break ing ( Example code. ) Though, you gotta admit, all of those are kinda clumsy. Especially the function version lacks because of the missing context where the loops are called, as you'd need to pass everything you need in the loops as parameters. Additionally, the second one gets worse for each nested loop. So, I personally, still consider