19
Copyright NorCom Information Technology AG Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected] Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, office-ffm@nor Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected] Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, office-ffm@nor 2 0 0 5 Erfolgreiches und weniger erfolgreiches Vorgehen in Softwareprojekten Pierre Feldbusch 17. Juni 2005

Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Embed Size (px)

Citation preview

Page 1: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005 Erfolgreiches und weniger erfolgreiches

Vorgehen in Softwareprojekten

Pierre Feldbusch

17. Juni 2005

Page 2: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Page 3: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

„Wäre es nicht wunderbar, wenn Sie SIE vor Erkältungen schützen könnten? Leider können Sie das nicht. Es gibt kein sicheres Mittel. Aber Sie können doch etwas tun, das ihr helfen wird. Geben Sie ihr Listerin-Antiseptikum zum Gurgeln. Listerin kann zwar nicht versprechen, dass sie keine Erkältung bekommt, aber es kann ihr helfen, sie zu bekämpfen. Lassen Sie sie während der nasskalten Jahreszeit zweimal am Tag mit Listerin gurgeln. Achten Sie darauf, daß sie eine gesunde Ernährung und genügend Schlaf bekommt, dann hat sie gute Aussichten, in diesem Jahr weniger und harmlosere Erkältungen zu bekommen.“

Testfragen• Das Mädchen ist krank (VIELLEICHT)

• Die Mutter macht sich Sorgen (VIELLEICHT)

• Gurgeln mit Listerin hilft, Erkältungen vorzubeugen (FALSCH)

Page 4: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Was sind die Probleme?

• Hören Verarbeitung/Interpretation Abstraktion Informationsverlust

• Nachfragen unmöglich (unidirektionale Kommunikation)

• Keine Möglichkeit Feedback

Missverständnisse

Fehlinterpretationen

Kommunikationsprobleme

Page 5: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Warum kommt es zu diesen Problemen?

Modellbildung - Grundlage menschlichen Denkens

Page 6: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Menschen haben zwangsläufig unterschiedliche Modelle

Welche Probleme ergeben sich in diesem Beispiel?

Page 7: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Wie könnte man die Probleme lösen?

Page 8: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Vorschlag 1: IT bei der Erarbeitung der Fachkonzepte einbeziehen

• Fachseite erklärt dem Newbie die fachlichen Prozesse („dumme“ Fragen helfen)

• Entwicklung einer gemeinsamen Sprache

• IT kann später aktiv selbständig mitdenken und bei fachlichen Problemen kreativ sein

• frühzeitiger Aufbau sozialer Beziehungen

beidseitige Lerneffekte (frühzeitige Modellkalibrierung)

Page 9: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Vorschlag 2: Leuchtspurmunition - Prototyping

• Fachkonzept: zu abstrakt (für IT oftmals schwer verständlich)

• UML: zu abstrakt (für Fachseite oftmals schwer verständlich)

Lösung: Prototyping zur Konkretisierung des Fachkonzepts

•Modellabgleich

• Use-Cases durchspielen und dadurch Prozess-Schwächen frühzeitig aufdecken

Page 10: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Vorschlag 3: IT-Team nach fachlichen Paketen organisieren

• IT-Team sammelt detailliertes Fachwissen in überschaubarem fachlichen Bereich

Domänen-Experten

• Verantwortung

• Motivation

• Identifikation

Page 11: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Wer kennt solche Pläne nicht?

Page 12: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Warum werden solche Detail-Pläne angefertigt?

• Angst vor Fehlern

• Hoffnung: umfassende Analyse bewahrt uns vor Fehlern

• Demonstration: „wir haben das Projekt im Griff“

• Angst konkrete messbare Ergebnisse abzuliefern

• Pläne/Dokumente werden als Fortschritt gewertet

• wir haben doch noch so viel Zeit

Verhalten ist absolut nachvollziehbar, aber leider falsch

Page 13: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Probleme bei diesem Vorgehen

• Pläne/Designs bauen auf Annahmen auf (Realisierbarkeit von Lösungen, ...)

• bei falschen Annahmen darauf aufbauende Aktivitäten wertlos

• Artefakte: nur Mittel zum Zweck - keine verwertbaren Endprodukte

• Angst vor Fehlern führt zu Lähmung

• ...

Kosten/Nutzen-Verhältnis schlecht

Page 14: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

“There is no escape, we must accept that mistakes will be made and use processes that adjust to the fact of mistakes.”(Alistair Cockburn)

Basisannahme für ein besseres Vorgehen

Page 15: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005 Iterativ-adaptiv:

“Working Software software is the primary measure of progress.”

„A little feedback can replace a lot of analytical work“

„An architecture that grows in steps can follow the changing knowledge of the team and the changing wishes of the user community.“

(Alistair Cockburn)

Vorschlag 4: Iteratives-evolutionäres-adaptives Vorgehen

Feedback Modellabgleich

Nutzung von Lerneffekten (insbes. Design und Technologie)

Schnelle Erfolge

Vertrauen und Selbstvertrauen Motivation + Identifikation

Risikominimierung

baldige Auslieferung, kurze Auslieferungszyklen

Page 16: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

Refactoring: Verzicht auf Big-Upfront-Design

„When you really understand refactoring, the design of the system is as fluid and plastic and moldable to you as the individual characters in a

source code file. You can feel the wohle design at once.“(Martin Fowler)

• Angemessene Lösungen für aktuelle Probleme

• keine Spekulation über zukünftige Anforderungen (die vielleicht nie kommen)

• Lerneffekte nutzen: Erfahrungen aus der Implementierung fliessen in Design ein

• Refactoring benötigt automatisierte Tests

• Code bleibt testbar, flexibel, lebendig wartbar

• kein „never change a running system“-Philosophie

•Ständiges teaminternes Code-Review

Optimales Kosten/Nutzen-Verhältnis

Page 17: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

evolutionär:

„Everyone on a project is in a position to detect a mistake.“(Alistair Cockburn)

• ständiges Review des Entwicklungsprozesses durch die Betroffenen

eat your own dog-food

• Fehler und Ineffizienzen werden soweit möglich sofort beseitigt

• wir lösen Probleme für die Fachseite

wir sollten auch unsere eigenen lösen können

Anwendung der gleichen Software-Entwicklungs-Prinzipien

auf den Prozess der Softwareentwicklung

Page 18: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005

„Preferring to fail conservatively

rather than to risk succeeding differently“

Page 19: Copyright NorCom Information Technology AG Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, headquarters@norcom.de

                                                                                                                                                                                                                                                                                                      Copyright NorCom Information Technology AGCopyright NorCom Information Technology AG

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

Zentrale: Stefan-George-Ring 23, D-81929 München, Fon +49 – 89 – 939 48-0, Fax –111, [email protected]

Geschäftsstelle: Solmsstraße 18, D-60486 Frankfurt / M., Fon +49 – 69 – 58 996-0, Fax –111, [email protected]

2005 Literaturangaben*:

• Agile Manifesto: http://www.agilemanifesto.org/

• Alistair Cockburn: “Agile Software Development“

• Andrew Hunt, David Thomas: „Der Pragmatische Programmierer“

• John R. Anderson: „Kognitive Psychologie“

• Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts:

„Refactoring: Improving the Design of Existing Code“

• Tom DeMarco: „Der Termin“

• Tom DeMarco: „Spielräume“

• Tom DeMarco: „Warum ist Software so teuer?“

• William J. Brown, Raphael C. Malveau, Hays W. McCormick III, Thomas J. Mowbray: “Anti Patterns”

* Meine persönlichen Favoriten sind fett gedruckt