Closed caub closed 7 years ago
See the "Why Else" document for why we have to reuse an existing keyword. I would have preferred "except" or "recover" myself, but unfortunately it's future-hostile.
Ok, I see, the transition with existing code isn't easy
Just a neutral idea, I was reading Why Else and I thought that
stop (e) {..}
or.stop(e=>{..})
could make sense, it has the semantic of cancellation to me, and is clear, unambiguous.But it adds one more language keyword as a drawback