找回密码
 立即注册
classthe设计使用者 | 书籍源码 2022-10-02 196 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
61条设计准则,遵从此法,可以去以后一些不必要的费事。(1)一切数据都应该隐藏在地点的类的内部。(2)类的使用者有必要依靠类的共有接口,但类不能依靠它的使用者。(3)尽量削减类的协议中的消息。(4)实现一切类都理解的最基本公有接口[例如,复制操作(深复制和浅复制)、相等性判断、准确输出内容、从ASCII描绘解析等等]........
61条Java面向对象设计的经验准则.doc

(61 design rules, following this law, can go to some unnecessary trouble in the future. (1) All data should be hidden inside the location class. (2) Users of a class need to rely on the common interface of the class, but a class cannot rely on its users. (3) Minimize messages in class protocols. (4) Implement the most basic public interface understood by all classes [for example, copy operation (deep copy and shallow copy), equality judgment, accurate content output, description and analysis from ASCII, etc.]
61 Rules of Experience for Java Object Oriented Design.doc)

[下载]08541079838.rar




上一篇:effectiveCplus.zip
下一篇:jstl-1.2