Advertisement

Clean Ruby

A Guide to Crafting Better Code for Rubyists

  • Carleton DiLeo
Book

Table of contents

  1. Front Matter
    Pages i-x
  2. Carleton DiLeo
    Pages 1-8
  3. Carleton DiLeo
    Pages 9-32
  4. Carleton DiLeo
    Pages 33-54
  5. Carleton DiLeo
    Pages 55-71
  6. Carleton DiLeo
    Pages 73-90
  7. Carleton DiLeo
    Pages 91-99
  8. Carleton DiLeo
    Pages 101-108
  9. Back Matter
    Pages 109-113

About this book

Introduction

Learn how to make better decisions and write cleaner Ruby code. This book shows you how to avoid messy code that is hard to test and which cripples productivity. Author Carleton DiLeo shares hard-learned lessons gained from years of experience across numerous codebases both large and small. Each chapter covers the topics you need to know to make better decisions and optimize your productivity. Many books will tell you how to do something; this book will tell you why you should do it. Start writing code you love. 

This book is written for Ruby developers. There is no need to learn a new language or translate concepts to Ruby.

You will:

  • Build better classes to help promote code reuse
  • Improve your decision making and make better, smarter choices
  • Identify bad code and fixed it
  • Create quality names for all of your variables, classes, and modules
  • Write better, concise classes
  • Improve the quality of your methods
  • Properly use modules
  • Clarify your Boolean logic
  • See when and how you refactor
  • Improve your understanding of TDD and write better tests

Keywords

Clean Ruby Rails web dev programming development patterns code source Rubyist

Authors and affiliations

  • Carleton DiLeo
    • 1
  1. 1.BoulderUSA

Bibliographic information