Created
April 21, 2015 19:40
-
-
Save SriMaddy/bb0fd4a0bf0114d5d0e1 to your computer and use it in GitHub Desktop.
Practical OOD in Ruby : Addison - Wesley
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) World is Procedural : sequence of actions like human is getting up, taking bath, going office, return home | |
2) World is also Object oriented : interacting with people : spouse_step_on_cat (heart beat increses for cat and also for spouse) | |
3) OOD takes us to collection of predefined procedures to messages passing between objects | |
4) How to learn OOD : Immerse yourself in objects | |
5) Software is being built for reason like hospital management, games, etc. | |
6) If we dont need to change design not matters but changes are unavaidable | |
7) Why change is hard: having more dependency, not proper designed coding | |
8) SOLID : Single responsibility, Open-Closed, Liskov Substitution, Interface Segregation, Dependency Inversion | |
9) DRY - Dont Repeat Yourself and Law of Demeter | |
10) How design fails : due to less designed code which can add feature but it will break everything on other hands, can not add feature as it was not designed to do that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment