Target New ArrivalsHalloweenChristmasGift IdeasClothing, Shoes & AccessoriesHome & DecorKitchen & DiningPatio, Lawn & GardenGroceryHousehold EssentialsBabyBeautyTarget Beauty StudioPersonal CareSports & OutdoorsPetsHealthWellnessSchool & Office SuppliesToys & GamesElectronics & TechVideo GamesBooks, Music & MoviesParty SuppliesGift CardsShop by CommunityTarget OpticalDealsClearanceNew ArrivalsHalloweenChristmasGift IdeasTop DealsTarget Circle DealsWeekly AdShop Order PickupShop Same Day DeliveryRegistryRedCardTarget CircleFind Stores
Clean Ruby - 2nd Edition by  Carleton DiLeo (Paperback) - 1 of 1

Clean Ruby - 2nd Edition by Carleton DiLeo (Paperback)

$39.99
 

In Stock

Free & easy returns
Free & easy returns
Return this item by mail or in store within 90 days for a full refund.
Eligible for registries and wish lists
Save 5% every day
With Target Circle™ Card (restrictions apply)

About this item

Highlights

  • Learn to write clean Ruby code that your team will thank you for.
  • About the Author: Carleton DiLeo is a software developer with more than 20 years of experience working in everything from VR to web development.
  • 369 Pages
  • Computers, Programming

Description



Book Synopsis



Learn to write clean Ruby code that your team will thank you for. This fully revised and expanded edition goes far beyond the basics to help you master the principles and practices to keep your Ruby code elegant, maintainable, and future-proof.

Author Carleton DiLeo draws on years of experience across diverse Ruby codebases to show you why clean code matters and how to achieve it using today's best practices. You'll learn foundational principles like SOLID, DRY, and KISS, explore modern Ruby idioms such as pattern matching and safe navigation, and discover strategies for refactoring, error handling, and performance tuning.

Unlike books that only tell you how to write Ruby, this edition explains why these choices matter, and how they impact readability, scalability, and team productivity. With new chapters on metaprogramming, design patterns, sustainable development practices, and benchmarking tools, this book equips you to write Ruby code that stands the test of time.

What You Will Learn:

  • Apply core principles (SOLID, DRY, YAGNI, KISS) to real-world Ruby code
  • Use modern Ruby features: pattern matching, safe navigation, keyword arguments
  • Create cleaner classes and methods with practical examples
  • Refactor confidently with tests-first strategies
  • Handle errors responsibly with domain-specific exceptions
  • Implement design patterns in Ruby and avoid common pitfalls
  • Improve performance using benchmarking and profiling tools
  • Build sustainable practices: linters, CI, code reviews

Who this Book is for:

Ruby developers, ideally who have taken a Ruby on Rails bootcamp or have a few years of experience, who want to go beyond syntax to master writing clean, professional-grade code.



From the Back Cover



Learn to write clean Ruby code that your team will thank you for. This fully revised and expanded edition goes far beyond the basics to help you master the principles and practices to keep your Ruby code elegant, maintable, and future-proof.

Author Carleton DiLeo draws on years of experience across diverse Ruby codebases to show you why clean code matters and how to achieve it using today's best practices. You'll learn foundational principles like SOLID, DRY, and KISS, explore modern Ruby idioms such as pattern matching and safe navigation, and discover strategies for refactoring, error handling, and performance tuning.

Unlike books that only tell you how to write Ruby, this edition explains why these choices matter, and how they impact readability, scalability, and team productivity. With new chapters on metaprogramming, design patterns, sustainable development practices, and benchmarking tools, this book equips you to write Ruby code that stands the test of time.

You Will:

  • Apply core principles (SOLID, DRY, YAGNI, KISS) to real-world Ruby code
  • Use modern Ruby features: pattern matching, safe navigation, keyword arguments
  • Create cleaner classes and methods with practical examples
  • Refactor confidently with tests-first strategies
  • Handle errors responsibly with domain-specific exceptions
  • Implement design patterns in Ruby and avoid common pitfalls
  • Improve performance using benchmarking and profiling tools
  • Build sustainable practices: linters, CI, code reviews



About the Author



Carleton DiLeo is a software developer with more than 20 years of experience working in everything from VR to web development. He has written code from high-traffic websites to back-end big data systems to video games using a number of different languages and technologies. This wide base of knowledge provides Carleton with a unique perspective when writing Ruby code. He is currently a remote principal software engineer building robust, scalable systems.

Dimensions (Overall): 10.0 Inches (H) x 7.0 Inches (W) x .81 Inches (D)
Weight: 1.49 Pounds
Suggested Age: 22 Years and Up
Number of Pages: 369
Genre: Computers
Sub-Genre: Programming
Publisher: Apress
Theme: Compilers
Edition: 2nd Edition
Format: Paperback
Author: Carleton DiLeo
Language: English
Street Date: July 21, 2026
TCIN: 1014057091
UPC: 9798868826429
Item Number (DPCI): 247-64-0868
Origin: Made in the USA or Imported
If the item details aren’t accurate or complete, we want to know about it.

Shipping details

Estimated ship dimensions: 0.81 inches length x 7 inches width x 10 inches height
Estimated ship weight: 1.49 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: American Samoa (see also separate entry under AS), Guam (see also separate entry under GU), Northern Mariana Islands, Puerto Rico (see also separate entry under PR), United States Minor Outlying Islands, Virgin Islands, U.S., APO/FPO, Alaska, Hawaii

Return details

This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the date it was purchased in store, delivered to the guest, delivered by a Shipt shopper, or picked up by the guest.
See the return policy for complete information.

Additional product information and recommendations

Discover more options

Skip to next section

Best-selling Computers & Technology Books

Skip to next section

Get top deals, latest trends, and more.