3 ms·
Out of curiosity why can’t a block just do this natively?
by stouset 10mo ago
Out of curiosity why can’t a block just do this natively?
- lunar_mycroft 10mo agoBecause then you couldn't use ? to propagate errors if they occurred inside any loops or branches within the function, which would be a significant limitation.
- masklinn 10mo agoBecause it would massively alter langage semantics? It converts returns from the nearest function into returns from the nearest (try) block.