技术宅,fat-man

增加语言的了解程度可以避免写出愚蠢的代码

导航

2013年12月26日 #

错误处理的思考

摘要: def catchLogByHour(..., errorHandler): while ....: if hasError: errorHandler(...) def error1(...): ....catchLogByHour(...,error1)def error2(...): ....catchLogByHour(...,error2)def error#(...): ....catchLogByHour(...,error2) 阅读全文

posted @ 2013-12-26 19:26 codestyle 阅读(164) 评论(0) 推荐(0)