solid development

15
SOLID Development Chris Deweese hoto by basswulf

Upload: chris-deweese

Post on 24-Apr-2015

3.066 views

Category:

Technology


4 download

DESCRIPTION

Slides for my presentation to the January 2010 STL .NET User Group.

TRANSCRIPT

Page 2: Solid Development

“The truth is, every developer is a little bit of an architect. Some of us just care a little more than the next guy.” (Lessons Learned About Being a Software Architect)

Photo by lrargerich

Page 3: Solid Development

Photo by Steffenz

5 Principles to keep in

mind and apply when you

are writing code.

Page 4: Solid Development

Single Responsibility PrincipleOpen/Closed Principle

Liskov Substitution Principle

Interface Segregation Principle

Dependency Inversion PrinciplePhoto by ilkegb

Page 6: Solid Development

Single Responsibility Principle

Open/Closed PrincipleLiskov Substitution Principle

Interface Segregation Principle

Dependency Inversion Principle

Page 7: Solid Development

“You should be able to extend a classes behavior, without modifying it.”

Photo by laurenmarek

Page 8: Solid Development

Single Responsibility Principle

Open/Closed Principle

Liskov Substitution PrincipleInterface Segregation Principle

Dependency Inversion Principle

Page 9: Solid Development

“Derived classes must be substitutable for their base classes.”

Photo by Jeremy Brooks

Page 10: Solid Development

Single Responsibility Principle

Open/Closed Principle

Liskov Substitution Principle

Interface Segregation PrincipleDependency Inversion Principle

Page 11: Solid Development

“Make fine grained interfaces that are client specific.”

Photo by nosha

Page 12: Solid Development

Single Responsibility Principle

Open/Closed Principle

Liskov Substitution Principle

Interface Segregation Principle

Dependency Inversion Principle

Page 13: Solid Development

“Depend on abstractions, not on concretions.”

Photo by schoeband

Page 15: Solid Development

Uncle Bob’s Principles of OOD http://bit.ly/65ncKX

Hanselminutes #145 – Hanselman & Uncle Bob discuss SOLID http://bit.ly/7inDit

Motivational Posters by Derick Bailey http://bit.ly/4ZE5RV

Code Examples & Tonight’s Presentationhttp://bit.ly/3nOGkq

Photo by Daniel Leininger