Prince:Starting with Ruby

From OpenWetWare
Jump to navigationJump to search

Prince lab logo.png

Home        Lab Members         Research         Publications         Internal         Mass Spec         Contact        

A suggested path for learning ruby:

  1. Go to to do a very basic interactive tutorial (just to get a basic feel for ruby)
  2. For first-time programmers, look at Learn to Program in Ruby
  3. Look over the documentation page. This is an important reference for the Ruby standard library.
  4. Go do some online courses: codeschool, codecademy, or Ruby Monk
  5. Go through Learn Ruby the Hard Way (free html ebook)
  6. Do Ruby Koans or write code and get feedback on
  7. Pick some challenges and do them: Ruby Programming Challenge for Newbies (RPCFN), Ruby Quiz, project euler (math bent).

Other Resources

  1. Coming to Ruby from another language is good if you are already familiar with programming and want to get a basic handle on how Ruby compares to your (previous) language of choice
  2. coming from Perl? PLEAC is a translation of the famous Perl Cookbook into Ruby
  3. Why's Poignant Guide to Ruby (ch 1) (TOC) is for when you have some spare time and are in the right kind of mood. An amazing and psychotic book that can be surprisingly helpful in really understanding ruby.\
  4. Interactive Regex development tools: or rubular makes writing your regular expressions super easy.
  5. Community: talk to other people about ruby