{"product_id":"9798868826429","title":"Clean Ruby A Guide to Crafting Better Code for Rubyists","description":"\u003ch1\u003eClean Ruby\u003c\/h1\u003e\u003ch2\u003eA Guide to Crafting Better Code for Rubyists\u003c\/h2\u003e\u003ch3\u003eCarleton DiLeo\u003c\/h3\u003e\u003cdiv\u003e\u003cb\u003eComputers \/ Programming \/ Compilers\u003c\/b\u003e\u003c\/div\u003e\u003cbr\u003e\u003cdiv\u003e\n\u003cp\u003eLearn 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.\u003c\/p\u003e\r\n\u003cp\u003eAuthor 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.\u003c\/p\u003e\r\n\u003cp\u003eUnlike 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.\u003c\/p\u003e\r\n\u003cp\u003eWhat You Will Learn:\u003c\/p\u003e\r\n\u003cul\u003e\r\n\u003cli\u003eApply core principles (SOLID, DRY, YAGNI, KISS) to real-world Ruby code\u003c\/li\u003e\r\n\u003cli\u003eUse modern Ruby features: pattern matching, safe navigation, keyword arguments\u003c\/li\u003e\r\n\u003cli\u003eCreate cleaner classes and methods with practical examples\u003c\/li\u003e\r\n\u003cli\u003eRefactor confidently with tests-first strategies\u003c\/li\u003e\r\n\u003cli\u003eHandle errors responsibly with domain-specific exceptions\u003c\/li\u003e\r\n\u003cli\u003eImplement design patterns in Ruby and avoid common pitfalls\u003c\/li\u003e\r\n\u003cli\u003eImprove performance using benchmarking and profiling tools\u003c\/li\u003e\r\n\u003cli\u003eBuild sustainable practices: linters, CI, code reviews\u003c\/li\u003e\r\n\u003c\/ul\u003e\r\n\u003cp\u003eWho this Book is for:\u003c\/p\u003e\r\n\u003cp\u003eRuby 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.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv\u003e\u003cp\u003e\u003cstrong\u003eCarleton DiLeo\u003c\/strong\u003e 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.     \u003c\/p\u003e\u003c\/div\u003e\u003cbr\u003e\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003ePublication Date: \u003c\/td\u003e\n\u003ctd\u003e02 August 2026\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePublisher: \u003c\/td\u003e\n\u003ctd\u003eApress\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eImprint: \u003c\/td\u003e\n\u003ctd\u003eApress\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eISBN-13: \u003c\/td\u003e\n\u003ctd\u003e9798868826429\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eFormat: \u003c\/td\u003e\n\u003ctd\u003ePaperback \/ softback\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePage Count: \u003c\/td\u003e\n\u003ctd\u003e178\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/table\u003e","brand":"Apress","offers":[{"title":"Default Title","offer_id":46266735755404,"sku":"9798868826429","price":49.49,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0710\/9545\/1788\/files\/9798868826429.jpg?v=1780604400","url":"https:\/\/fh90cf-fv.myshopify.com\/products\/9798868826429","provider":"Late Knight Books and Services, LLC","version":"1.0","type":"link"}