Table of content
- Abstract
- Which is the one weakness of OOP?
- How to overcome the one weakness of OOP? Solutions:
- 1. Professor Karl Lieberherr work on Adaptive programming and the Law of Demeter
- 2. Mock Objects and Growing object-oriented software, guided by tests
- 3. Less, The path to better design
- Comparing solutions
- References
References
- Adaptive Object-Oriented Software. The Demeter Method. Karl Lieberherr. 1996.
http://www.ccs.neu.edu/research/demeter/book/aoos.PDF
- Chapter 3: From C++ to Demeter. From [0]
- Less, The path to better design. Sandi Metz. 2011-2012.
Slides: http://less-goruco.herokuapp.com/.
Video: http://vimeo.com/53154357.
Code: https://gist.github.com/nicholasjhenry/1110289.
- Law of Demeter (LoD). Professor Karl Lieberherr.
http://www.ccs.neu.edu/research/demeter/demeter-method/LawOfDemeter/general-formulation.html.
- Assuring Good Style for Object-Oriented Programs IEEE Software, September 1989, 38-48. Lieberherr, K. and Holland, I. http://homepages.cwi.nl/~storm/teaching/reader/LieberherrHolland89.pdf
- Professor Karl Lieberherr. http://www.ccs.neu.edu/home/lieber/
- Endo-testing: unit testing with mock objects. Tim Mackinnon, Steve Freeman, Philip Craig. 2001.
- Mock roles, not objects. Steve Freeman, Tim Mackinnon, Nat Pryce, Joe Walnes. 2004.
- Growing Object-Oriented Software Guided by Tests. Steve Freeman, Nat Pryce. 2010.
- Dependency Injection. Martin Fowler. 2014. http://martinfowler.com/articles/injection.html
- A Brief History of Mock Objects. Tim Mackinnon. 2009. http://www.mockobjects.com/2009/09/brief-history-of-mock-objects.html
- Internal Iterator. http://c2.com/cgi/wiki?InternalIterator.
- Email on Object Orientation and messaging. Alan Kay.1998.
http://lists.squeakfoundation.org/pipermail/squeak-dev/1998-October/017019.html.
- Dr. Alan Kay on the Meaning of Object-Oriented Programming. Alan Kay. 2003.
http://www.purl.org/stefan_ram/pub/doc_kay_oop_en.