Practical Object-Oriented Design by Sandi Metz


Authors
Sandi Metz
ISBN
9780134456478
Published
Binding
Paperback
Dimensions
177 x 231 x 12mm

Ruby's widely admired simplicity has a downside: too many Ruby and Rails applications have been created without concern for their long-term maintenance or evolution. The Web is awash in Ruby code that is now virtually impossible to change or extend. This text helps you solve that problem by using powerful real-world object-oriented design techniques, thoroughly explained via simple and practical Ruby examples. Sandi Metz has distilled a lifetime of conversations and presentations about object-oriented design into a proven set of Ruby-focused practices for crafting manageable, extensible, and pleasing code. She 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, all downloadable from the companion Web site. Fully updated for Ruby 2.X, this guide shows how to:



Decide what belongs in a single Ruby 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
Design cost-effective tests
Solve common problems associated with poorly designed Ruby code

Whatever your previous Ruby experience, Practical Object-Oriented Design in Ruby, 2nd Edition will guide you to the superior outcomes you're looking for.
EOFY 2025 Book Frenzy
75.64
RRP: $88.99
15% off RRP



Instore Price: $88.99
Enter your Postcode or Suburb to view availability and delivery times.

You might also like


RRP refers to the Recommended Retail Price as set out by the original publisher at time of release.
The RRP set by overseas publishers may vary to those set by local publishers due to exchange rates and shipping costs.
Due to our competitive pricing, we may have not sold all products at their original RRP.