3 ms·
Your link describes (and encourages) exactly the laborious emulation of Checked Exceptions that I was talking about in my above comment. It doesn't make the gu
by moe 11y ago
Your link describes (and encourages) exactly the laborious emulation of Checked Exceptions that I was talking about in my above comment.
It doesn't make the guard clauses disappear. It merely forces the programmer to manually aggregate them at a higher level with even more boilerplate code.
- mahyarm 11y agoIf my guard clause is doing the same thing for 20 lines, it increases readability. Could be an optimization point too!