Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Thinking in C++ Vol 2 - Practical Programming
Prev Home Next

Summary

The point of design patterns, like the point of any abstraction, is to make your life easier. Usually something in your system is changing this could be code during the lifetime of the project, or objects during the lifetime of one program execution. Discover what is changing, and a design pattern may help you encapsulate that change, and thus bring it under control.

It s easy to get infatuated with a particular design, and to create trouble for yourself by applying it just because you know how. What s hard, ironically, is to follow the XP maxim of do the simplest thing that could possibly work. But by doing the simplest thing, you not only get a design that s faster to implement, but also easier to maintain. And if the simplest thing doesn t do the job, you ll find out a lot sooner than if you spend the time implementing something complex, and then find out that doesn t work.

Thinking in C++ Vol 2 - Practical Programming
Prev Home Next

 
 
   Reproduced courtesy of Bruce Eckel, MindView, Inc. Design by Interspire