Celebrate the holidays with Apress Access for just $/£/€ 99!

Clean Ruby

A Guide to Crafting Better Code for Rubyists

Authors: DiLeo, Carleton

Download source code Free Preview
  • The first book on clean coding for Ruby developers
  • Create more straightforward methods to increase productivity
  • Written by an active practicing Ruby code developer and game programmer
see more benefits

Buy this book

eBook $24.99
price for USA (gross)
  • ISBN 978-1-4842-5546-9
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $32.99
price for USA
  • ISBN 978-1-4842-5545-2
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

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.

About the authors

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 (7 chapters)

Table of contents (7 chapters)
  • The Qualities of Clean Code

    Pages 1-8

    DiLeo, Carleton

  • Naming Things

    Pages 9-32

    DiLeo, Carleton

  • Creating Quality Methods

    Pages 33-54

    DiLeo, Carleton

  • Using Boolean Logic

    Pages 55-71

    DiLeo, Carleton

  • Classes

    Pages 73-90

    DiLeo, Carleton

Buy this book

eBook $24.99
price for USA (gross)
  • ISBN 978-1-4842-5546-9
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $32.99
price for USA
  • ISBN 978-1-4842-5545-2
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Clean Ruby
Book Subtitle
A Guide to Crafting Better Code for Rubyists
Authors
Copyright
2019
Publisher
Apress
Copyright Holder
Carleton DiLeo
eBook ISBN
978-1-4842-5546-9
DOI
10.1007/978-1-4842-5546-9
Softcover ISBN
978-1-4842-5545-2
Edition Number
1
Number of Pages
X, 113
Topics