Confident Ruby: 32 Patterns for Joyful Coding
Author | : | |
Rating | : | 4.62 (900 Votes) |
Asin | : | B00ETE0D2S |
Format Type | : | |
Number of Pages | : | 361 Pages |
Publish Date | : | 2016-06-18 |
Language | : | English |
DESCRIPTION:
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. 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.. For many programmers, discovering Ruby is a revelation. You’ll discover the four parts of a method, and how to use those parts to construct a narrative. They are overjoyed by how elegantly and succinctly they can state problems in the language
Christopher Patti said A straight forward and practical way to level up your Ruby fu.. Not since Josh Bloch's Effective Java have I seen a book so bursting with practical advice that's truly germane to the code we all write every day.This isn't yet another book about how to structure your Rails apps, nor is it, strictly speaking a book on style. It's a book about how you can apply certain very concrete techniques to the way you craft your code that will result in clearer, more readable and ultimately more "confident" Ruby.A great example of the kind of advice the book offers is the use of Kernel method. Opened my eyes Miha Rekar I'm a (relative) nooby Ruby developer coming from PHP world. I liked Ruby a lot when I started coding with it, but after I read Avdi's book I love it. Love love love it. It's greatly written, full of good practices and great examples. Must read for all Ruby devs!. Ruby storytelling! Avdi managed to put his coding advises in a concise/elegant volume.His writing style is funny but straight to the point, while code examples are sharp as scalpels.A must-have for any ruby developers who want to tell better stories with their code, less relevant (but yet useful) for those who already follow Avdi on his post/tapas/conferences.