Confident Ruby: 32 Patterns for Joyful Coding Front Cover

Confident Ruby: 32 Patterns for Joyful Coding

  • Length: 205 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2013-08-26
  • ISBN-10: B00ETE0D2S
  • Sales Rank: #301156 (See Top 100 Books)
Description

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.

Table of Contents

Chapter 1. Introduction
Chapter 2. Performing Work
Chapter 3. Collecting Input
Chapter 4. Delivering Results
Chapter 5. Handling Failure
Chapter 6. Refactoring for Confidence
Chapter 7. Parting Words
Chapter 8. Colophon

To access the link, solve the captcha.