Chinaunix首页 | 论坛 | 博客
  • 博客访问: 153491
  • 博文数量: 50
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 470
  • 用 户 组: 普通用户
  • 注册时间: 2013-01-10 10:46
文章分类

全部博文(50)

文章存档

2019年(3)

2018年(3)

2017年(2)

2016年(5)

2015年(3)

2014年(1)

2013年(33)

我的朋友

分类: Java

2015-02-26 15:07:08

1、Identify the  aspects of your application that vary and separate them from what stays  the same
2、Program to an interface,not an implementation
3、Favor composition over inheritance
4、strive for loosely coupled designs between objects that interact
5、classes should be opened for extension and closed for modification
6、depend upon abstractions,don't depend upon concrete classes
7、principle of least knowledge,talk only to your immediate friends
8、don't call us,we'll call you
阅读(390) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~