DEV Community

Discussion on: Let's Clean Up: Ugly Try-Catches!

Collapse
 
coly010 profile image
Colum Ferry

Agreed. You can add the return to the catch to break execution in the method, but you're still left with what I feel is less readable code. I guess it comes down to a matter of preference! :)

Collapse
 
metruzanca profile image
Samuele Zanca

A lot of coding is down to preference. :)