Design Patterns Explained (1) - Tranditional Design

Part II? Limitations of Traditional Object-Oriented Designed

作者举了一个需求的实例, 并在此需求上用OO方法给出一个设计方案.
这个方案虽然使用OO方法设计的, 但还是作为反面教材给出的.
在下面的章节里作者应该会给出符合Design Patterns的设计方案.

这个设计方案不好的原因在于:
?????? ?too much attention to details too early.

下面是作者的总结
??????? One common?problem that we analysts can have is that we dive into the details too early
in the development process. It is natural because it is easy to work with these details.Solutions
for the details are usually apparent, but are not necessarily the best thing to start with. Delay as
long as you can before you commit to the detail. ...

作者还提到他感觉这个设计不好大部分是因为直觉(本能)
?Pay attention to your instincts
Gut?instinct is a surprisingly powerful indicator of the quality fo a design.
I suggest that developer learn to listen to their instinct.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值