Tuesday, July 6, 2010

Pattern Study - The Future of

I got this from Judith Bishop book, C# Design Patterns, page 256.

Some problems with design patterns:

  • Traceability - hard to maintain when programming language doesn't support the underlying pattern.  Pattern can be spread across several classes.
  • Reusability - design pattern is not encapsulated and must be reimplemented each time it is used.  {What about a design pattern template, several template classes that ease the implementation of a pattern?}
  • Writability - methods with trivial behavior not support be language can be tedious to write and maintain.
  • Maintainability - multiple patterns can lead to a large cluster of mutually dependent classes causing high coupling between the classes.
The current research is how to transform design patterns into reusable artifacts so the programmer doesn't have to implement them over and over again.  {Addressing all the above problems.}

No comments: