It's easy to forget to catch in cases you wanted to. Maybe adding a new keyword:
try { ... } drop; 17. април 2012. 13.35, Jussi Kalliokoski <jussi.kallioko...@gmail.com> је написао/ла: > I'm not sure if this has been discussed before, but is it a terribly bad > idea to make catch/finally optional for a try block? > > There's a lot of code like this out there: > > try { /* something here */ } catch (e) { /* nothing here */ } > > Cheers, > Jussi > > _______________________________________________ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > > -- Nebojša Ćirić
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss