Skip to Content
Clean Ruby: A Guide to Crafting Better Code for Rubyists
book

Clean Ruby: A Guide to Crafting Better Code for Rubyists

by Carleton DiLeo
November 2019
Intermediate to advanced content levelIntermediate to advanced
119 pages
1h 42m
English
Apress

Overview

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. 

What You Will Learn

  • 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
Who This Book Is For

This book is written for Ruby developers. There is no need to learn a new language or translate concepts to Ruby.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Service-Oriented Design with Ruby and Rails

Service-Oriented Design with Ruby and Rails

Paul Dix
Mastering Ruby Closures

Mastering Ruby Closures

Benjamin Tan Wei Hao
Ruby Best Practices

Ruby Best Practices

Gregory T Brown

Publisher Resources

ISBN: 9781484255469Purchase LinkPublisher Website