Learn Enough Ruby to Be Dangerous is a tutorial introduction to Ruby, an elegant and intuitive object-oriented programming language that is especially known for its use in web development. After this series, you'll be in a position to collaborate with millions of devs around the world, even if you're not a developer yourself (yet!), or continue your growth as a developer as you build towards the Ruby on Rails Tutorial.
I'm brand new to coding in Ruby and a friend of mine suggested I try this book. Well, actually he suggested I start with the Ruby on Rails tutorial first because I had some minor coding experience in HTML and Python years ago. I got about 25% through the Rails tutorial before I realized I probably did need to go through the Ruby book first. It probably took me around 5 weeks to finish this tutorial, putting in about 4-6 hours a week.
This book includes: - Starting from the ground up on basic programming topics like strings, arrays, hashes, functions, methods ect - How to use map, select, and reduce which are very powerful ruby methods - What are objects, classes and inheritance - How to do test-driven development and how to incorporate testing into your workflow - How to use shell scripts to read from documents or URLs - Creating and publishing your own Ruby Gem that tests if a string is a palindrome - Creating your github repositories, and how to push/pull your work to it. - Creating a final project that wraps your newly created gem in HTML and lets you interact with it via a webpage that is published.
I learned a lot and I'm ready to go back to the ruby on rails tutorial now!
Pretty great introductory book. It covers all the basics you would expect from a typical introductory language book, but I appreciated that it shared some insights on larger software engineering concepts as well.
For example, it places an emphasis on "shipping" code, including helping the beginner deploy a working web app through Heroku. The book also touches on ideas like TDD and effectively abstracting pieces of code.