The best way to teach yourself Ruby?

I have a decent amount of opportunities for web development and programming with C, C ++ and several markup languages. To expand my knowledge, I decided to learn Ruby, and I wonder what you guys recommend as the best way to teach it to yourself. I quickly looked through the books available on Amazon, but nothing immediately jumped at me.

Thank you very much, I really appreciate it.

+7
ruby
source share
4 answers

I have introduced some guys to Ruby in the last couple of weeks, here are some of the things I recommended to really like:

  • Learn to program
    • More for an inexperienced programmer. So in this case it is not suitable.
  • Try Ruby
    • Try Ruby in your browser! General introduction.
  • Ruby Koans
    • Take the tests. A great way to learn Ruby syntax.
  • Ruby warrior
    • Another interesting way, like Ruby Koans, is to learn Ruby.

I also always recommended the Ruby Programming Language and / or Read Ruby 1.9 on their part as reference.

Once you get the basic syntax, immerse yourself in some kind of web application with something simple, like Sinatra . In the end, the best way to learn a language is to start using it.

+5
source share

Read β€œRead Ruby” first, this book is at http://ruby.runpaint.org/

Description A very early draft of a book about version 1.9 of the Ruby programming language, released under a Creative Commons license

and http://phrogz.net/ProgrammingRuby/frameset.html ruby programming

+1
source share

Use this as your main book: Design Patterns in Ruby and this as your reference: Ruby Programming Language .

You will also definitely want to read the latest book after you finish the design templates. After you have absorbed these two, it is a pleasant continuation: "Ruby Best Practices" .

For recommendations on design patterns as body text, see here: Design patterns

+1
source share

Not really Ruby, but since you have some web development experience, you could start by learning Ruby through Rails. This way, you can see Ruby in the context of web development and may help you learn faster. Then find a book about Ruby (I'm looking for it too, so thanks for your question :)

I learned a lot from

I found book number 1 very useful when I first read about Rails. But, wanting to become more advanced, it will not take you much time.

Book number 2 is really good. I believe that the combination of the two taught me many details that the other book did not cover.

For Ruby, one very handy Ruby reference in a nutshell . I have this edition, but a newer one for 1.9 should be there too. Reading only this book, I raised some tips on how Ruby works.

0
source share

All Articles