Skip to product information
1 of 1

Carleton DiLeo

Clean Ruby: A Guide to Crafting Better Code for Rubyists

Clean Ruby: A Guide to Crafting Better Code for Rubyists

💎 Earn 212 Points (£2.12) on this item.

Important: Dispatches within 2 to 4 weeks
Regular price £42.47 GBP
Regular price £49.99 GBP Sale price £42.47 GBP
Sale Sold out
Taxes included. Shipping calculated at checkout.

YOU SAVE £7.52

  • Condition: Brand new
  • UK Delivery times: Usually arrives within 2 - 3 working days
  • UK Shipping: Fee starts at £2.39. Subject to product weight & dimension

Bulk ordering. Want 15 or more copies? Get a personalised quote and bigger discounts. Learn more about bulk orders.

  • More about Clean Ruby: A Guide to Crafting Better Code for Rubyists
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 codeUse modern Ruby features: pattern matching, safe navigation, keyword argumentsCreate cleaner classes and methods with practical examplesRefactor confidently with tests-first strategiesHandle errors responsibly with domain-specific exceptionsImplement design patterns in Ruby and avoid common pitfallsImprove performance using benchmarking and profiling toolsBuild sustainable practices: linters, CI, code reviewsWho 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.
  • Publication date: 21 July 2026
  • Page count: 369
  • Dimensions: Height 254 mm; Width 178 mm
  • Publisher: APress
  • Format: Paperback
  • ISBN-13: 9798868826429

This item can be found in:

UK and International shipping information

UK Delivery and returns information:

  • Delivery within 2 - 3 days when ordering in the UK.
  • Shipping fee for UK customers from £2.39. Fully tracked shipping service available.
  • Returns policy: Return within 30 days of receipt for full refund.

International deliveries:

Shulph Ink now ships to Australia, Belgium, Canada, France, Germany, Ireland, Italy, India, Luxembourg Saudi Arabia, Singapore, Spain, Netherlands, New Zealand, United Arab Emirates, United States of America.

  • Delivery times: within 5 - 10 days for international orders.
  • Shipping fee: charges vary for overseas orders. Only tracked services are available for most international orders. Some countries have untracked shipping options.
  • Customs charges: If ordering to addresses outside the United Kingdom, you may or may not incur additional customs and duties fees during local delivery.
View full details