Thorough use of 'if' statements or 'try/catch' blocks?

前端 未结 9 1903
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-12 03:14

Give me some of your thoughts on which is a better coding practice/makes more efficient code/looks prettier/whatever: Increasing and improving your ability to use if statem

9条回答
  •  星月不相逢
    2021-01-12 03:56

    this debate (2003) was good:

    http://www.joelonsoftware.com/items/2003/10/13.html

    http://nedbatchelder.com/blog/200310/joel_on_exceptions.html

提交回复
热议问题