Prince:Starting with Ruby: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
# Go to [http://tryruby.org/ tryruby.org] to do a very basic interactive tutorial (just to get a basic feel for ruby)
# Go to [http://tryruby.org/ tryruby.org] to do a very basic interactive tutorial (just to get a basic feel for ruby)
# For first-time programmers, look at [http://pine.fm/LearnToProgram/ Learn to Program in Ruby]
# For first-time programmers, look at [http://pine.fm/LearnToProgram/ Learn to Program in Ruby]
# Look over the [http://www.ruby-lang.org/en/documentation/ ruby-lang.org documentation page]. This is an important reference for the Ruby standard library.
# Go do some online courses: [https://www.codeschool.com/paths/ruby codeschool], [http://www.codecademy.com/tracks/ruby codecademy], or [https://rubymonk.com/ Ruby Monk]
# Go through [http://ruby.learncodethehardway.org/book/ Learn Ruby the Hard Way] (free html ebook)
# Go through [http://ruby.learncodethehardway.org/book/ Learn Ruby the Hard Way] (free html ebook)
# Look over the [http://www.ruby-lang.org/en/documentation/ ruby-lang.org documentation page]. This is an important reference for the Ruby standard library.
# Do [http://rubykoans.com/ Ruby Koans] or write code and get feedback on [http://exercism.io/ exercism.io]
# Start writing some code. [http://ruby-challenge.rubylearning.org/ Ruby Programming Challenge for Newbies (RPCFN)] has some challenges you can do.
# Pick some challenges and do them: [http://ruby-challenge.rubylearning.org/ Ruby Programming Challenge for Newbies (RPCFN)], [http://rubyquiz.com/ Ruby Quiz], [https://projecteuler.net/ project euler] (math bent).
# Dive in to one of the [[#Safari_Online_Subscription|Safari Online]] books for a more in-depth understanding of the language. Beginning Ruby and The Well Grounded Rubyist are both great.


==Safari Online Subscription==
==Other Resources==
 
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/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/9780596157487/ix 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==
#[http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/ 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
#[http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/ 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
# [http://pleac.sourceforge.net/pleac_ruby/ coming from Perl? PLEAC] is a translation of the famous Perl Cookbook into Ruby
# [http://pleac.sourceforge.net/pleac_ruby/ coming from Perl? PLEAC] is a translation of the famous Perl Cookbook into Ruby
# Why's Poignant Guide to Ruby ([http://mislav.uniqpath.com/poignant-guide/book/chapter-1.html ch 1]) ([http://mislav.uniqpath.com/poignant-guide/book/ 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.\
# Why's Poignant Guide to Ruby ([http://mislav.uniqpath.com/poignant-guide/book/chapter-1.html ch 1]) ([http://mislav.uniqpath.com/poignant-guide/book/ 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.\
# Interactive Regex development tools: [http://regexr.com/ regexr.com] or [http://rubular.com/ rubular] makes writing your regular expressions super easy.
# Interactive Regex development tools: [http://regexr.com/ regexr.com] or [http://rubular.com/ rubular] makes writing your regular expressions super easy.
# [https://www.ruby-lang.org/en/community/ Community: talk to other people about ruby]

Latest revision as of 06:47, 28 May 2014

Home        Lab Members         Research         Publications         Internal         Mass Spec         Contact        


A suggested path for learning ruby:

  1. Go to tryruby.org 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 ruby-lang.org 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 exercism.io
  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: regexr.com or rubular makes writing your regular expressions super easy.
  5. Community: talk to other people about ruby