Pages: 296
Published: April 2014
ISBN: pending
In Print
Are your Ruby methods timid? Do they constantly second-guess themselves, checking for nil values, errors, and unexpected input? With Confident Ruby, you’ll learn patterns, idioms, and language features that help to write code in a clear, straightforward style. Your code will be more testable, easier to read, and easier to debug. And you’ll be a happier programmer!
Foreword by Sandi Metz, author of Practical Object-Oriented Design in Ruby.
This work was written and produced entirely by the author. We are proud to be distributing it.
PDF for desktop/tablets
epub for Apple Books, e-readers
mobi for Kindle readers
Get all eBook formats here for $35.00 (USD)
Order via Bookshop (U.S. Only)
Please support indie bookstores!
Find indie bookstores in the U.S. Find indie bookstores around the world.
For many programmers, discovering Ruby is a revelation. They are overjoyed by how elegantly and succinctly they can state problems in the language. But then the real world creeps in, and that joy gradually wanes as the code becomes cluttered with distracting edge case scenarios, error handling, and checks for nil.
Confident Ruby is a guide to recapturing the joy of writing Ruby by employing small patterns and stylistic choices to make each method tell a coherent story. Over the course of 32 patterns, you’ll learn how to isolate uncertainty at the borders of your code; how to avoid repetitive conditionals; and how to liberate your code from the chore of nil-checking. You’ll discover the four parts of a method, and how to use those parts to construct a narrative. Following along with real-world refactoring sessions, you’ll learn how to apply these lessons to legacy code.
Whether you are a novice or an experienced Ruby hacker, this book will help you become a more confident and joyful programmer.
Releases:
PDF for desktop/tablets
epub for Apple Books, e-readers
mobi for Kindle readers
Get all eBook formats here for $35.00 (USD)
Order via Bookshop (U.S. Only)
Please support indie bookstores!
Find indie bookstores in the U.S. Find indie bookstores around the world.
Pages: 296
Published: April 2014
ISBN: pending
Edition: 1
In Print