Clean Ruby: A Guide to Crafting Better Code for Rubyists

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.
1133880365
Clean Ruby: A Guide to Crafting Better Code for Rubyists

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.
44.99 In Stock
Clean Ruby: A Guide to Crafting Better Code for Rubyists

Clean Ruby: A Guide to Crafting Better Code for Rubyists

by Carleton DiLeo
Clean Ruby: A Guide to Crafting Better Code for Rubyists

Clean Ruby: A Guide to Crafting Better Code for Rubyists

by Carleton DiLeo

eBook1st ed. (1st ed.)

$44.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


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.

Product Details

ISBN-13: 9781484255469
Publisher: Apress
Publication date: 11/29/2019
Sold by: Barnes & Noble
Format: eBook
File size: 195 KB

About the Author

Carleton DiLeo has been writing code ever since he built his first computer from parts in a dumpster. He has written code from high-traffic websites to back-end big data systems for video games. This wide base of knowledge provides Carleton with a unique perspective when writing Ruby code.

Table of Contents

1. The Qualities of Clean Code.- 2. Naming Things.- 3. Creating Quality Methods.- 4. Using Boolean Logic.- 5. Classes.- 6. Refactoring.-7. Test-Driven Development (TDD).-Afterword: Wrapping Up.
From the B&N Reads Blog

Customer Reviews