Hi Peter, John,
I think I found your arguments convincing, both from a technical point
of view - the stack analogy was a good one, and from a programming model
point of view - declaration vs. block of code. I believe these are good
basis for why we should break away from what we have chosen to do for
lambdas.
Maurizio
On 16/03/18 08:50, Peter Levart wrote:
Yes, and my intuitive distinction between those two kinds of
constructs is that the first are just "declarations" of code blobs,
while the second are code blobs that execute in-line with the
surrounding code. It is therefore very intuitive for me to have two
kinds of syntax for exiting the constructs - "return" for the first
and "break" for the second.