I’m curious - Why is it inconvenient? Nothing after that break or return statement can be executed, after all.
If you’re just adding a return for debugging reasons then “do return end “ is easy enough.
Behalf Of jason zhang
Could anyone explain why the break and retuan must appear as the last statement of a block?
This is really a unconvenient feature. Is it a special design?