Email the Author

You can use this page to email Carleton DiLeo about Clean Ruby.

Please include an email address so the author can respond to your query

This message will be sent to Carleton DiLeo

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

This book is now Clean Ruby and can be purchased on APRESS's website! Read More

Messy code can cripple productivity and make life unpleasant for developers. Bad code is hard to test and is the source of bugs. Each day, we waste countless hours struggling with poorly written Ruby code. Clean Ruby will teach you how to make better decisions and have you writing cleaner code.

This book is the culmination of many years of experience across numerous codebases both large and small. You will learn from first-hand experience. Each chapter covers the topics you need to know to make better decisions. Many books will tell you how to do something, but this book will tell you why you should do it. Start writing code you love.

Books like Clean Code by Robert C. Martin or Code Complete by Steve McConnell are great resources for learning these concepts but are for developers who use compiled languages like C, C#, and Java. Clean Ruby is written for Ruby developers. There is no need to learn a new language or translate concepts to Ruby.

Is this book right for you?

  • You've graduated from one of many Ruby on Rails dev bootcamps
  • You've been programming for a couple of years in Ruby on Rails

What you will learn?

Build better classes to help promote code reuse. Create more straightforward methods to increase productivity. Improve your decision making and make better, smarter choices. These are the things you will learn when reading Clean Ruby:

  • Learn how to identify bad code and fixed it.
  • Learn how to create quality names for all of your variables, classes and modules.
  • Learn how to create better, concise classes.
  • Learn how to improve the quality of your methods.
  • Learn how to properly use modules.
  • Learn how to improve the clarity of your boolean logic.
  • Learn techniques to improve when and how you refactor.

How will you learn?

This book is filled with tons of code. You will see examples of common mistakes and how to fix them. Each example has been carefully considered based on real-world experience.

You will learn to think differently about your code. Every chapter will make your reconsider past coding decisions. Open your eyes to a new world of Ruby development by reading Clean Ruby.

What makes it ruby specific?

  • All the code examples are written in Ruby. No need to learn a new language.
  • Topics will highlight techniques specific to Ruby.
  • Topics factor in the dynamic nature of Ruby.

About the Author

Carleton DiLeo’s avatar Carleton DiLeo

Carleton is a founder, author, and developer who brings nearly two decades of experience working with technology. His expertise includes building high-traffic websites, big data systems, and video games. This wide base of knowledge provides Carleton with a unique perspective when working with Ruby.

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Cleanruby › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss