A common pitfall, similar to not checking for exceptions, is to fail to check the return value and for the code to proceed on the assumption that the call was successful.
与未检测异常相似,这也存在一个缺陷,即代码未检测返回值却假定调用成功而继续运行。
A common pitfall, similar to not checking for exceptions, is to fail to check the return value and for the code to proceed on the assumption that the call was successful.
与未检测异常相似,这也存在一个缺陷,即代码未检测返回值却假定调用成功而继续运行。
应用推荐