15
Software Architecture as design John D. McGregor

Software Architecture as design John D. McGregor

Embed Size (px)

Citation preview

Page 1: Software Architecture as design John D. McGregor

Software Architecture as design

John D. McGregor

Page 2: Software Architecture as design John D. McGregor

Beautiful software has:

• Cooperation

• Appropriate form

• System minimality

• Component singularity

• Functional locality

• Readability

• Simplicity

• http://www.chc-3.com/pub/beautifulsoftware.htm

Page 3: Software Architecture as design John D. McGregor

Or…

• Integrity– beautiful software solves one problem, and does it

better than any other• Usability– It guides you through the tasks at hand in a clear

way, minimizing risks for misunderstanding or misuse of its features.

• Innovation – beautiful software is not afraid to solve the problems

at hand in new and amazing ways

Page 4: Software Architecture as design John D. McGregor

Practical advice

• Maintain, trust, and foster your product vision.

• Stick your chin out and don’t be afraid to innovate.

• Love your users and invest in their interaction with your software.

• Maintain your integrity – fight for it and don’t stray away from it.

Page 5: Software Architecture as design John D. McGregor

Software Craftsmanship

The goals of software craftsmanship are: Maintainability. Extensibility. Substitution.

Don't Repeat Yourself (DRY), and avoid Not Invented Here (NIH) syndrome.You Ain't Gonna Need It (YAGNI) principle.Favor composition over inheritance.Create contracts for your objects.Have objects (and methods!) do one thing, and one thing well.

Page 7: Software Architecture as design John D. McGregor

Software sustainability

• Economic• Aesthetic• Timely• Natural

Page 8: Software Architecture as design John D. McGregor

Work with “nature” not against it

• Rely on “local” conditions and traditions• Software architecture tends to be trendy and

international• The concept of “local” means domain-specific• There is no one architecture for everything

but international organizations train architect consultants and tend to homogenize product architectures

Page 9: Software Architecture as design John D. McGregor

Moshe Safdie

• http://www.ted.com/talks/moshe_safdie_on_building_uniqueness

Page 10: Software Architecture as design John D. McGregor

• Efficiency• Economy• Elegance• Form follows function• But there are many designs that will provide a

specific function so it is better to think…• Function follows form• Designs that look good usually are

Page 11: Software Architecture as design John D. McGregor

Plato

• Plato said “The qualities of measure and proportion constitute beauty and excellence.

• Aesthetic excellence is grounded in order, harmony, symmetry, and proportion in the parts.

Page 12: Software Architecture as design John D. McGregor

Plotinus

• Beauty is not in the relationships of the parts but in the unity of the one.

• Usually are conscious of the perfection of the whole before there is an appreciation of the individual details

Page 13: Software Architecture as design John D. McGregor

• Experiment• Criticism • Theory• Practice

Page 15: Software Architecture as design John D. McGregor

Here’s what you are going to do..

• Step back and look at your architecture• What elements of beauty does it possess?• Identify what you think are the most beautiful

parts of your design.• Compare this to the earlier assignment where

you decided which part of the architecture you thought was the best and which was the worst.

• Write up your analysis and submit by 4/22 at 6am