Prince:Starting with Ruby: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
(Tweaked the path for learning ruby and added some new links.)
(→‎Safari Online Subscription: fixed link to beginning ruby)
Line 18: Line 18:
BYU has a subscription to Safari Online, meaning we have full access to many books online. Here are the most relevant ones to learning Ruby (in approximate order):
BYU has a subscription to Safari Online, meaning we have full access to many books online. Here are the most relevant ones to learning Ruby (in approximate order):


# [http://proquest.safaribooksonline.com/9781430223634/i Beginning Ruby: From Novice to Professional (2nd ed.)] by Peter Cooper, a great English rubyist.
# [http://proquest.safaribooksonline.com/9781430223634/firstchapter Beginning Ruby: From Novice to Professional (2nd ed.)] by Peter Cooper, a great English rubyist.
# [http://proquest.safaribooksonline.com/9781933988658/iii The Well Grounded Rubyist]
# [http://proquest.safaribooksonline.com/9781933988658/iii The Well Grounded Rubyist]
# [http://proquest.safaribooksonline.com/9780596516178/xi The Ruby Programming Language (1st ed.)]  an expanded version of Ruby in a nutshell co-authored by Matz himself.
# [http://proquest.safaribooksonline.com/9780596516178/xi The Ruby Programming Language (1st ed.)]  an expanded version of Ruby in a nutshell co-authored by Matz himself.

Revision as of 09:37, 16 September 2010

Home        Lab Members         Research         Publications         Internal         Mass Spec         Contact        


A suggested path for learning ruby:

  1. Very basic interactive tutorial (just to get a basic feel for ruby)
  2. Learn to program in ruby (for first-time programmers)
  3. ruby-lang.org Documentation page
  4. Dive in to one of the Safari Online books for a more in-depth understanding of the language. Beginning Ruby and The Well Grounded Rubyist are both great.

Start writing some code:

Regex Learning Tool

Safari Online Subscription

BYU has a subscription to Safari Online, meaning we have full access to many books online. Here are the most relevant ones to learning Ruby (in approximate order):

  1. Beginning Ruby: From Novice to Professional (2nd ed.) by Peter Cooper, a great English rubyist.
  2. The Well Grounded Rubyist
  3. The Ruby Programming Language (1st ed.) an expanded version of Ruby in a nutshell co-authored by Matz himself.
  4. Ruby Best Practices (1st ed.) by Greg Brown of Ruport fame. This is more for when you already know the language and want to learn more about advanced topics like testing, functional programming, and dynamic programming.

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.