Practical Object-Oriented Design in Ruby

Practical Object-Oriented Design in RubyFree Download Practical Object-Oriented Design in Ruby An Agile Primer Book in PDF written by Sandi Metz and published by Addison-Wesley Pearson Education, Inc.

One of the core truisms of software development is that as your code grows and requirements for the system that you are building change, additional logic will be added that is not yet present in the current system. In almost all cases, maintainability over the life of the code is more important than optimizing its present state. The promise of using object-oriented (OO) design is that your code will be easier to maintain and evolve than otherwise. If you are new to programming, how do you unlock these secrets to maintainability using OO? The fact is that many of us have never had holistic training in writing clean object-oriented code, instead picking up our techniques through osmosis from colleagues and a myriad of older books and online sources. Or if we were given a primer in OO during school, it was done in languages such as Java or C++. 

Sandi Metz’s Practical Object-Oriented Design in Ruby covers all of the basics of OO using the Ruby language, meaning that it’s ready to usher countless Ruby and Rails newcomers to the next steps in their professional development as mature programmers.

Ruby itself, like Smalltalk, is a completely object-oriented (OO) language. Everything in it, even primitive data constructs such as strings and numbers, is represented by objects with behavior. When you write your own applications in Ruby, you do so by coding your own objects, each encapsulating some state and defining its own behavior. If you don’t already have OO experience, it can feel daunting to know how to start the process. This book guides you every step of the way, from the most basic questions of what to put in a class, through basic concepts such as the Single Responsibility Principle, all the way through to making tradeoffs between inheritance and composition, and figuring out how to test objects in isolation.

This book is about designing object-oriented software. It is not an academic tome, it is a programmer’s story about how to write code. It teaches how to arrange software so as to be productive today and to remain so next month and next year. It shows how to write applications that can succeed in the present and still adapt to the future. It allows you to raise your productivity and reduce your costs for the entire lifetime of your applications. This book believes in your desire to do good work and gives you the tools you need to best be of use. It is completely practical and as such is, at its core, a book about how to write code that brings you joy.

Table of Contents

  1. Object-Oriented Design
  2. Designing Classes with a Single Responsibility
  3. Managing Dependencies
  4. Creating Flexible Interfaces
  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

Free Download Object-Oriented Design in Ruby An Agile Primer Book in PDF written by Sandi Metz from following download links. 

Download Link 1

Download Link 2

File Size: 1.97 MB               Pages: 272              Please Read Disclaimer

Don’t forget to drop a comment below after downloading this book.

Note: If download links are not working, kindly drop a comment below, so we’ll update the download link for you.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.