Writing Robust Code

时间:2015-12-04 08:08:52
【文件属性】:

文件名称:Writing Robust Code

文件大小:89KB

文件格式:CHM

更新时间:2015-12-04 08:08:52

Delphi

We studied how to write safe code in the presence of exceptions. Specifically, we studied how to guarantee that an application would be left in a stable state no matter what exception was raised or, even better, how to guarantee a complete rollback of the application state. If you haven’t read that article, I would like to encourage you to do so. It can be considered the introduction to this one. There are many subtle issues when it comes to ensuring code correctness and robustness. In this article, we will study some of those issues, with a special emphasis on contract-based programming.


网友评论