Learn to write better code
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 Code for Rubyists 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. Read Clean Code for Rubyists and start writing code you love.
What will you 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 Code for Rubyists:
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 Code for Rubyists.
About the Author
I'm Carleton DiLeo. I've been writing code ever since I built my first computer from parts in a dumpster. I've written code for many types of platforms and frameworks. During my time mentoring for The Firehose Project, I saw a need for a resource like Clean Code and Code Complete but written for Ruby developers.