I like Marks solution. Its actually visibly better than my 'near' solution, cos you can see the definition of the block at the top instead of the exit point at the bottom.
"Functionalizing blocks" seems like an anti-"good programming" solution. Waters down the power of functions in readability terms.
"Functionalizing blocks" seems like an anti-"good programming" solution. Waters down the power of functions in readability terms.