如果没有进行静态检查,那么这类错误到了运行的时候才会被捕获。
Without static checking, such errors are not caught until run time.
最主要的原因是,我可以委托在一个地方的错误处理:在我的主要职能,在我所有的异常都会被捕获。
The main reason is that I can delegate the error handling in one single place: in my main function, where all my exceptions will be caught.
最主要的原因是,我可以委托在一个地方的错误处理:在我的主要职能,在我所有的异常都会被捕获。
The main reason is that I can delegate the error handling in one single place: in my main function, where all my exceptions will be caught.
应用推荐