Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World Of Computational Thinking with Code by Zed A. Shaw
Learning to program is an invaluable skill possessed by many of the world’s most successful people. It opens up opportunities and opens doors in a world of limitless ideas, creativity, and possibilities. The challenge lies in how to get into this world of “things” without feeling overwhelmed.
One popular approach to tackling this challenge is by using Ruby, an open-source programming language noted for its simplicity and agility. In Zed A. Shaw's Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World Of Computational Thinking with Code, readers are taken into a gentle, yet effective introduction to the world of Ruby programming.
From the title of the book, one can discern this is not a quick path; it is not a simple “learn in X time” or “here is the complete guide” type book. Shaw uses an iterative approach, gradually leading readers on a manageable path to the rewards of programming. The structure of the book’s chapters are setup in such away as to encourage continued engagement, giving enough “wiggle room” for personal exploration yet also providing enough structure to maintain a desired end goal.
To appeal to both Ruby beginners and advanced users, Shaw breaks down the basics in the first few chapters and then proceeds to explain more complex concepts such as classes and strings. He then introduces even more advanced topics, such as metaprogramming and the object-oriented design paradigm.
Shaw is heavily focused on implementation and encourages readers to practice the lessons given. This practical approach is what sets this book apart from other introductory Ruby books. Shaw is constantly presenting exercises for readers to practice different Ruby methods, allowing them to apply what they are learning in ways that feel comfortable and rewarding.
He also emphasizes “error detection”, teaching readers how to debug their code. In chapter 3, Shaw explains why it’s important to not only spot errors quickly but also understand the underlying reasons for them. He also provides helpful tips on where to look for errors and clues on how to debug your code when it isn’t running correctly.
As its starting point, readers need no prior Ruby knowledge nor even any programming experience. Step by step exercises with the supported software gives you direction, while Shaw’s instructional style is direct and succinct.
Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World Of Computational Thinking with Code is the ultimate book for anyone who wants to get started in learning Ruby. It is clear, straightforward, and easy-to-follow. By mastering the principles of Ruby taught in this book, you will have the confidence and knowledge to move on to tackling more complex programming problems. That is Shaw’s ultimate goal; to “ignite the imaginations of coding and unleash the full potential of the minds that open this book.”