On Sun, Aug 13, 2017 at 6:21 PM, Hikaru Nakashima <[email protected]>
wrote:
> I want you to tell me why dangerous to omit `catch`.
> Is that because, people abuse the syntax ?

"Dangerous" is a bit over-the-top, I was just reusing the word for parallel
construction.

But I prefer explicit to implicit. This:

```js
try { something; } catch { }
```

isn't that much longer than this:

```js
try { something; }
```

...and for me, having that glaring empty block there saying "You really
should do something here" is a good thing. :-)

-- T.J. Crowder
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to