Mrz 13 13 Rediscovering Modularity, Chris Chedgey

  • Beginn: Mittwoch, 13. März 2013, 17:00 Uhr
  • Ende: 20:00 Uhr
  • Ort: Erich-Zeigner-Allee 69-73, 2. OG, 04229 Leipzig
  • Sprecher: Chris Chedgey
  • Kalendereintrag: Kalendereintrag

Wir begrüßen mit Chris Chedgey unseren ersten englischsprachigen Sprecher bei der .NET User Group Leipzig. Chris stellt uns das Werkzeug Restructure 101 vor mit dem man besonders gute Einblicke in die Architektur einer Anwendung erhält. Der Vortrag findet auf Englisch statt.

Abstract:

The principles of modularity have been applied to engineering projects since Gorak built the wheel, and Thag the barrow of the world’s first wheelbarrow. Thag’s barrow didn’t care that the wheel was first hewn from rock, and later upgraded to a lighter, wooden one, and Gorak’s wheel design was reused for the world’s first chariot. This is how humans make sense of complexity – we divide and conquer.

Analogous principles of modularity are taught in Software Engineering 101 – information hiding, interfaces, clear responsibility, high internal cohesion, low external coupling, etc., and we apply these routinely as we develop, and continuously refactor the code encapsulated within classes.

However when the number of classes reaches some threshold, higher level abstractions are needed in order to manage the complexity of the growing codebase. This limit is usually overshot and the team is soon drowning in an ocean of classes. At this point it is time to restructure the code-base into a hierarchy of modules above the class level, or watch the team’s frustration continue to rise, and productivity plummet.

This talk proposes a measurement framework for assessing the quality of a modular structure, identifying regions of poor modularity, and for assessing the impact of restructuring or refactoring actions. Based on this framework, the talk introduces strategies for retro-fitting modularity to an existing codebase, with minimum impact on the code logic itself.

This material is based on experience gained while helping many development teams through the restructuring process. The concepts will be illustrated by examples.