摘要:
面向对象的基本原则一。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 . 阅读全文