Book description
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
Product information
- Title: Clean Ruby: A Guide to Crafting Better Code for Rubyists
- Author(s):
- Release date: November 2019
- Publisher(s): Apress
- ISBN: 9781484255469
You might also like
book
Design Patterns in Ruby
Praise for Design Patterns in Ruby " documents smart ways to resolve many problems that Ruby …
book
Learn Game Programming with Ruby
Level up your programming skills while making fast-paced, arcade-style video games. Make enemy spaceships explode in …
book
Comprehensive Ruby Programming
This book will provide you with all of the tools you need to be a professional …
book
Metaprogramming Ruby 2
Write powerful Ruby code that is easy to maintain and change. With metaprogramming, you can produce …