Learn Enough Ruby to Be Dangerous: Write Programs, Publish Gems, and Develop Sinatra Web Apps with Ruby

Learn Enough Ruby to Be Dangerous: Write Programs, Publish Gems, and Develop Sinatra Web Apps with Ruby

English | 2022 | ISBN: 978-0137844180 | 352 Pages | EPUB | 51 MB

All You Need to Know, and Nothing You Don’t, to Create Ruby Programs, Gems, and Web Apps

Programmers love Ruby for its elegance, power, and flexibility: that’s why it was chosen for the Ruby on Rails framework that launched websites from Shopify to Coinbase. You’ll love Ruby too, but you don’t need to learn “everything” about it, just how to use it efficiently to solve real problems. In Learn Enough Ruby to Be Dangerous, renowned instructor Michael Hartl teaches the concepts, skills, and approaches you need to be professionally productive in both general-purpose programming and beginning web app development.

Even if you’re new to programming, Hartl helps you quickly build technical sophistication and master the lore you need to succeed. You’ll gain a solid understanding of object-oriented and functional programming, develop and publish a self-contained Ruby package (a gem), and use your gem to build and deploy a dynamic web app with the Sinatra framework. Focused exercises help you internalize what matters, without wasting time on details pros don’t care about. Soon, it’ll be like you were born knowing this stuff–and you’ll be suddenly, seriously dangerous.

Learn enough about . . .

  • Writing real code quickly using interactive Ruby (irb)
  • Working with native Ruby objects and creating your own
  • Using functional techniques to write more concise and modular code
  • Creating tests and improving code with test-driven development (TDD)
  • Developing and publishing self-contained Ruby packages (gems)
  • Writing nontrivial shell scripts to leverage Ruby’s power at the command line
  • Developing and deploying a web app with routes, layouts, embedded Ruby, and forms
  • Mastering modern development skills you can use with any language

Michael Hartl’s Learn Enough Series includes books and video courses that focus on the most important parts of each subject, so you don’t have to learn everything to get started–you just have to learn enough to be dangerous and solve technical problems yourself.

Homepage