61条Java面向对象设计的经验原则

[复制链接]
发表于 2022-10-2 08:54:10
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

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表