Cheers, Sathya Srinivasan - SCJP 1.2, SCWCD 1.2, SCMAD 1.0
Co-Author of Whizlabs SCMAD Certification Exam Simulator and SCMAD Exam Guide Book
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Sathya Srinivasan:
Liskov Substitution Principle
Open-Closed Principle
Single Responsibility Principle
Dependency Inversion Principle
Interface Segregation Principle
and optionally
Law of Demeter
Design by Contract
For reference, you can look at
Agile Software Development by Robert Martin.
Kishore
SCJP, blog
Originally posted by Kishore Dandu:
what is uncle bob's ASD book??
Originally posted by Kishore Dandu:
I have been doing oo systems development for almost 7 years. I have no clue what the above principles are.
Can some one shed a light where I can read through them??
Originally posted by Daniel Mayer:
The best really would be to read the above book. It's worth every single penny.
http://c2.com/cgi/wiki?PrinciplesOfObjectOrientedDesign also has some information on them.
Kishore
SCJP, blog
Originally posted by Kishore Dandu:
I am not talking about polymorphism etc. I am talking about the principles.
U can ask around the javaranch(ask the experts), I am confident at least 50% of gurus did not go through those principles. Still they are likely to have produced high quality, highly appreciated oo based complex systems.
Cheers, Sathya Srinivasan - SCJP 1.2, SCWCD 1.2, SCMAD 1.0
Co-Author of Whizlabs SCMAD Certification Exam Simulator and SCMAD Exam Guide Book
<a href="http://www-306.ibm.com/software/rational/bios/ambler.html" target="_blank" rel="nofollow">Scott W. Ambler</a><br />Practice Leader Agile Development, IBM Rational<br /> <br />Now available: <a href="http://www.ambysoft.com/books/refactoringDatabases.html" target="_blank" rel="nofollow">Refactoring Databases: Evolutionary Database Design</a>
Originally posted by Scott Ambler:
...then you might want to look at The Object Primer 3rd Edition (www.ambysoft.com/theObjectPrimer.html).
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]