Practical Object-Oriented Design: An Agile Primer Using Ruby (2nd Edition)
by: Sandi Metz
ISBN-10: 0134456475
ISBN-13: 9780134456478
Edition 版次: 2
Publication Date 出版日期: 2018-08-25
Print Length 页数: 288
the Complete Guide to Writing Maintainable,Manageable,Pleasing,and Powerful Object-Oriented Applications
Object-oriented programming languages exist to help you create beautiful,straightforward applications that are easy to change and simple to extend. Unfortunately,the world is awash with object-oriented (OO) applications that are difficult to understand and expensive to change. Practical Object-Oriented Design,Second Edition,immerses you in an OO mindset and teaches you powerful,real-world,object-oriented design techniques with simple and practical examples.
Sandi Metz demonstrates how to build new applications that can “survive success” and repair existing applications that have become impossible to change. Each technique is illustrated with extended examples in the easy-to-understand Ruby programming language,all downloadable from the companion website,poodr.com. Fully updated for Ruby 2.5,this guide shows how to
Decide what belongs in a single class
Avoid entangling objects that should be kept separate
Define flexible interfaces among objects
Reduce programming overhead costs with duck typing
Successfully apply inheritance
Build objects via composition
Whatever your previous object-oriented experience,this concise guide will help you achieve the superior outcomes you’re looking for.
Contents
About This E-Book
Introduction
Acknowledgments
About the Author
10bject-Oriented Design
2 Designing Classes with a Single Responsibility
3 Managing Dependencies
4Creating Flexible Interfaces
5 Reducing Costs with Duck Typing
6Acquiring Behavior through Inheritance
7 Sharing Role Behavior with Modules
8 Combining Objects with Composition
9 Designing Cost-Effective Tests
Practical Object-Oriented Design 2nd Edition 9780134456478.zip
Practical Object-Oriented Design: An Agile Primer Using Ruby,2nd Edition
相关推荐
- Mastering Unity Game Development with C#: Harness the full potential of Unity 2022 game development using C#
- Autodesk Civil 3D 2025 Unleashed: Elevate your civil engineering designs and advance your career with Autodesk Civil 3D
- Unlock Your Creativity with Photopea: Edit and retouch images, and create striking text and designs with the free online software
- Federated Learning for Future Intelligent Wireless Networks
- Facilitating Software Architecture: Empowering Teams to Make Architectural Decisions
- Explainable Machine Learning for Geospatial Data Analysis: A Data-Centric Approach