The Pros and Cons of Adopting and Applying Design Patterns in the - - PowerPoint PPT Presentation

the pros and cons of adopting and applying design
SMART_READER_LITE
LIVE PREVIEW

The Pros and Cons of Adopting and Applying Design Patterns in the - - PowerPoint PPT Presentation

The Pros and Cons of Adopting and Applying Design Patterns in the Real World Tina Andersen (1) Benefits Coordinate process and community: Uniformity allows the devel- opers to communicate at a higher level of abstraction. Can be used


slide-1
SLIDE 1

(1)

The Pros and Cons of Adopting and Applying Design Patterns in the Real World

Tina Andersen

slide-2
SLIDE 2

(2)

Benefits

Coordinate process and community: Uniformity allows the devel-

  • pers to communicate at a higher level of abstraction.

Can be used reactively: Documentation tool to classify the frag- ments of a design. Can be used proactively: Build robust designs with design-level parts that have well understood trade-offs. Can give the software a hinge: Future changes consistent with a hinge are relatively inexpensive.

slide-3
SLIDE 3

(3)

Benefits continued

Can turn a trade-off into a win-win situation: Adaptability must be explicitly designed into the software in designated places. Constrain maintenance programmers: Require maintenance pro- grammers to understand and preserve the integrity of the de- signpatterns during maintenance changes. Let management reward self-directed designers: Differentiating self- directed developers from the others is an important management problem.

slide-4
SLIDE 4

(4)

Inhibitors

Oversold: The overall software development process has to be mo- dified to take design patterns into account. Unnecessarily difficult to learn: Murky, obfuscated design patterns tend to distract people from the clarity of many writers and the depth of their design patterns. Classifications are not yet useful for practitioners: Some catego- ries are not helpful to software practitioners while they learn pat- terns.

slide-5
SLIDE 5

(5)

Marshall’s conclusion

Benefit!

slide-6
SLIDE 6

(6)

My own conclusion

I have no doubt that one will get benefit from successfully adopting and applying design patterns. The question is just what is the cost in the process?