Which IMO is clearer than adding yet more punctuation. There's also a Function.try non-syntax alternative suggested since syntax additions can be very hard to get approved.
Is there a delegate who you worked with on this one? I am all for the debate being refreshed, but I didn't see a reference to this other proposal, so maybe I missed it, but if not it's worth reading/linking to.
There's a long conversation about essentially the same proposal here: https://es.discourse.group/t/try-catch-oneliner/107/61
Proposed syntax there is
Which IMO is clearer than adding yet more punctuation. There's also a
Function.try
non-syntax alternative suggested since syntax additions can be very hard to get approved.Is there a delegate who you worked with on this one? I am all for the debate being refreshed, but I didn't see a reference to this other proposal, so maybe I missed it, but if not it's worth reading/linking to.