Book description
NoneTable of contents
- Cover
- Title Page
- Copyright Page
- Dedication
- Contents
- About This E-Book
- Introduction
- Acknowledgments
- About the Author
- 1 Object-Oriented Design
- 2 Designing Classes with a Single Responsibility
- 3 Managing Dependencies
-
4 Creating Flexible Interfaces
- 4.1 Understanding Interfaces
- 4.2 Defining Interfaces
-
4.3 Finding the Public Interface
- 4.3.1 An Example Application: Bicycle Touring Company
- 4.3.2 Constructing an Intention
- 4.3.3 Using Sequence Diagrams
- 4.3.4 Asking for “What” Instead of Telling “How”
- 4.3.5 Seeking Context Independence
- 4.3.6 Trusting Other Objects
- 4.3.7 Using Messages to Discover Objects
- 4.3.8 Creating a Message-Based Application
- 4.4 Writing Code That Puts Its Best (Inter)Face Forward
- 4.5 The Law of Demeter
- 4.6 Summary
- 5 Reducing Costs with Duck Typing
- 6 Acquiring Behavior through Inheritance
- 7 Sharing Role Behavior with Modules
- 8 Combining Objects with Composition
- 9 Designing Cost-Effective Tests
- Afterword
- Index
- Code Snippets
Product information
- Title: Practical Object-Oriented Design: An Agile Primer Using Ruby, 2/e
- Author(s):
- Release date:
- Publisher(s): Addison-Wesley Professional
- ISBN: None
You might also like
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn’t clean, it can bring a development organization …
book
Design Patterns: Elements of Reusable Object-Oriented Software
Capturing a wealth of experience about the design of object-oriented software, four top-notch designers present a …
book
Domain-Driven Design: Tackling Complexity in the Heart of Software
“Eric Evans has written a fantastic book on how you can make the design of your …
book
Head First Design Patterns, 2nd Edition
What will you learn from this book? You know you don't want to reinvent the wheel, …