2014年2月27日
摘要: 面向对象的基本原则一。Encapsulate things in your design that are likely to change(封装变化) We isolate the parts that will change a lot into a sparate class or classes that we can depend on changing, and we increase our flexibility and ease of change. We also leave the stable part of our design alone, so that we . 阅读全文
posted @ 2014-02-27 11:28 carolinehan 阅读(220) 评论(0) 推荐(0) 编辑