The JADE 2022 release meets tomorrow’s business demands.
HistoricalComments
Brian Johnstone 18/11/2017 11:22:24 AM
I've always found that having try/catch means that you're polluting the "normal" code in order to put in the exception handling code, which to me actually makes the "normal" code harder to read not easier. Not to mention that for some exceptions, resuming at the next line of code is cleaner than having the same code repeated in an exception block and in the "normal" route, to handle those situations where you want to carry on with the same code for some exception types. Having said that, being able to use either means could still be a useful enhancement for those coming to Jade from other languages. |