April 16, 2014
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.
Ready to write some Confident Ruby? Come on over to pragprog.com/book/agcr and grab yourself a copy.
Your code will thank you for it.
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.
Foreword by Sandi Metz, author of Practical Object-Oriented Design in Ruby.
This book was written and produced entirely by the author. We are proud to be distributing it.
Now available from pragprog.com/book/agcr.
Upcoming Author Appearances
Did You Know?
We publish books across a range of technologies for folks at different levels of abilities, all the way from novice to expert. If you haven't browsed all of our titles recently, come take a look:
Agile Practices • Android, iPhone, and Mobile Programming • Career
Development • Cool Things for Smart People • DIY & Hardware •
For Beginners • Gaming • Java and JVM Languages • Mac, iPhone,
and iPad Programming • Pragmatic exPress • Ruby and Rails •
Testing, Design, and Cloud Computing • Tools, Frameworks, Languages
• Web 2.0+
Come check out all our categories at pragprog.com/categories
Don't Get Left Out
Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.
Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:
Tell your friends! Tweet this Follow us on Twitter:
pragprog</a>, <a href="http://twitter.com/pragpub">pragpub, Andy
PragmaticAndy</a> and Dave <a href="http://twitter.com/pragdave">pragdave.
- Learn to Program with Minecraft Plugins: Create Flying Creepers and Flaming Cows in Java in print
- Fire in the Valley
- Tell us what you’d like to see next!
- Manage Your Job Search
- Raspberry Pi: A Quick-Start Guide
- iPad and iPhone Kung Fu
- Metaprogramming Ruby
Thanks for your continued support,
Andy & Dave
The Pragmatic Programmers
Books • eBooks • PragPub Magazine • Audiobooks and Screencasts