特别是,通过表示式不变量(representation invariant)和抽象函数(abstraction function)帮助代码阅读者读懂并理解代码。表示式不变量和抽象函数也有可能会扩展到其他方面,例如,在调试和测试方面。
基于20个网页-相关网页
Now I got one just simple thing, and I simply have isolated that module inside of that function.What about abstraction?
而现在我只要做一件简单的事,那就是我只需把这个模块,加到函数中去?
应用推荐