Holub on Patterns: Learning Design Patterns by Looking at Code

本书通过实际案例教授设计模式的应用,让读者了解模式如何解决现实世界中的面向对象设计问题。不仅涵盖了设计原则,还展示了如何利用这些原则使代码更易于维护和调试。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版、作者信息和本声明。否则将追究法律责任。 http://blog.youkuaiyun.com/topmvp - topmvp

Most programmers learn by looking at computer programs. This book teaches you design patterns in exactly this way: by looking at computer programs and analyzing them in terms of the patterns that they use. Consequently, you learn how the patterns actually occur in the real world, and how to apply the patterns to solve real problems. This book also looks at the broader context of OO (Object-Oriented) design and how the patterns solve commonplace OO design problems. It covers many of the principles of OO design - principles not covered by most books on Java - and shows you how to apply these principles to make your code easier to maintain and debug.

The existing books on design patterns take a "catalog" approach, where they show the individual design patterns in isolation. This approach is fundamentally flawed because you cant see how the design patterns actually function in the real world. The patterns in real programs interact in complex ways, working in concert to solve many problems simultaneously. By seeing the patterns actually applied in a realistic way, you can really understand how to use them in your own code.


http://rapidshare.com/files/52155593/159059388X.zip
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值