|
5 Keys to Authoring Successful Patterns
A pattern strategy is only as good as the thought and efforts placed behind it.
by Peter Varhol
Java Pro Live!, September 2005
 |
|
Peter Varhol, Principal Product Manager of Developer Tools, Progress Software
|
The use of patterns offers the most significant potential for software reuse since the widespread adoption of object-oriented programming techniques. Many development organizations have organized pattern libraries and have assigned architects and senior developers to fill them up with patterns that will deliver both high productivity and implementation consistency across different teams and applications.
But like most new concepts, a pattern strategy is only as good as the thought and efforts placed behind it. Here are five practices that can help in creating useful patterns that can actually deliver on that promise.
1. Look everywhere for patterns. Don't let the "not invented here" syndrome blind you to good work being done elsewhere on your development teams, or even in communities on the Internet.
2. Carefully define the scope and limitations of the pattern. A major failure of a pattern strategy is that the users of the patterns tend to think the patterns can be adapted and used far beyond their intended purpose.
3. Provide a sample implementation of the pattern. Descriptions of solutions are useful, but what many developers really want is an example for them to modify to meet their specific needs, or at least to give them a concrete idea of what they are trying to do. Providing a sample implementation with a pattern makes it much more likely that it will be applied across different applications.
Back to top
|