problems with software designs rigidity fragility immobility viscosity needless complexity needless...

9
Agile Design

Upload: dwight-wade

Post on 23-Dec-2015

238 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Problems with software designs Rigidity Fragility Immobility Viscosity Needless Complexity Needless Repetition Opacity

Agile Design

Page 2: Problems with software designs Rigidity Fragility Immobility Viscosity Needless Complexity Needless Repetition Opacity

Problems with software designs

RigidityFragilityImmobilityViscosityNeedless ComplexityNeedless RepetitionOpacity

Page 3: Problems with software designs Rigidity Fragility Immobility Viscosity Needless Complexity Needless Repetition Opacity

RigidityRigid software is difficult change

One change requires mods in multiple modulesChanges are more difficult than estimated

Page 4: Problems with software designs Rigidity Fragility Immobility Viscosity Needless Complexity Needless Repetition Opacity

FragilityThe degree to which it is easy to break the

programSmall changes generate unexpected side-

effects

Page 5: Problems with software designs Rigidity Fragility Immobility Viscosity Needless Complexity Needless Repetition Opacity

ImmobilityThe code is not modular enough for reuse

Page 6: Problems with software designs Rigidity Fragility Immobility Viscosity Needless Complexity Needless Repetition Opacity

ViscositySoftware Viscosity

When design-preserving methods of extending the software are less easily achieved than changes that are not in concert with the overall design (i.e., hacks are easier than following design) the design has “high viscosity.”

Environment ViscosityThe process of making changes (e.g., compiling,

getting approval, configuration management) can also encourage a “quick-and-dirty” fix, rather than a fix better suited to the long-term maintainability of the system.

Page 7: Problems with software designs Rigidity Fragility Immobility Viscosity Needless Complexity Needless Repetition Opacity

Needless ComplexityPreparing for unknown extensions

Overly flexibleBad AlgorithmsBad/Out-dated assumptions about system

priorities

Page 8: Problems with software designs Rigidity Fragility Immobility Viscosity Needless Complexity Needless Repetition Opacity

Needless RepetitionCut and paste is evil in software engineering.

How many places does the same processing occur? That is the number of places that changes/fixes

must be madeDo people understand what the cut and paste?

This is how software the literally no one understands enters the system.

The same code, with minor changes, makes the minor changes easy to miss.

Page 9: Problems with software designs Rigidity Fragility Immobility Viscosity Needless Complexity Needless Repetition Opacity

OpacityHow clear is the code

Code tends to get less clear as it is modifiedCode tends to get less clear when you think

about something else for a whileCode that is clear to you, might not be clear to

others