OOP - Back to Basic
Upcoming SlideShare
Loading in...5
×
 

OOP - Back to Basic

on

  • 1,424 views

 

Statistics

Views

Total Views
1,424
Views on SlideShare
1,350
Embed Views
74

Actions

Likes
0
Downloads
18
Comments
0

3 Embeds 74

http://blog.goeran.no 65
http://www.linkedin.com 8
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

OOP - Back to Basic OOP - Back to Basic Presentation Transcript

  • OOP – Back to Basic! Gøran Hansen Seniorkonsulent, Capgemini http://blog.goeran.no [email_address] Twitter.com/goeran
  •  
  •  
  •  
  •  
    • ” Vi kan unngå spagettikode ved å bry oss om kvaliteten på koden vi skriver !”
    • What does these have in common?
    .NET VB.NET C# Ruby Python Silverlight Flash Java ASP.NET MVC Ruby on Rails WPF Azure
  •  
    • Object Orientation!
    • Encapsulation, Inheritance, Polymorphism
    • Loose Coupling
  •  
  •  
    • Cohesion
  •  
  •  
    • Design Principles
    • Single Responsibility Principle – SRP ”There should never be more than one reason for the class to change ” – Tom DeMarco
    • http://www.objectmentor.com/resources/articles/srp.pdf
    • Dependency Inversion Principle – DIP ”High level modules should not depend upon low level modules. Both should depend upon asbtractions ”
    • ” Abstractions should not depend upon details. Details should depend upon abstractions ”
    • - Robert C. Martin (Unclebobmartin)
    • http://www.objectmentor.com/resources/articles/dip.pdf
    • Open-Closed Principle – OCP
    • ” Should be open for extensions but closed for modification ” – Bertand Meyer (1988)
    • http://www.objectmentor.com/resources/articles/ocp.pdf
    • SRP
    • DIP
    • OCP
    • S . O .L.I. D
    • ” Vi kan unngå spagettikode ved å bry oss om kvaliteten på koden vi skriver !”
  •  
    • Recommended reading
    • http://www.objectmentor.com/resources/publishedArticles.html
    • http://msdn.microsoft.com/en-us/magazine/cc546578.aspx
    • http://blog.objectmentor.com/
    • http://codebetter.com/blogs/jeremy.miller/
  • OOP – Back to Basic! Gøran Hansen Seniorkonsulent, Capgemini http://blog.goeran.no [email_address] Twitter.com/goeran