4 ms·
Pretty good list, although I'm not sure how else you would expect 'finally' to function?
by lepht 17y ago
Pretty good list, although I'm not sure how else you would expect 'finally' to function?
- majke 17y agoIt's not that I expect it to work differently. It's more like: "oh, you can do that, that's interesting". And the question is, how to exploit this behaviour. Does it mean that I can effectively rewrite return values? Can I access the original return parameters? Can it be used as a substitute of goto? (cascaded loops, that end up in return, which is than captured by finally)