Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to start learn Ruby

 
Shashank Agarwalg
Ranch Hand
Posts: 110
Android Java Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey I want's to know How can i start to learn Ruby. And what's the requirement for it I am a SCJP.
 
Katrina Owen
Sheriff
Posts: 1367
18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no requirement whatsoever... well, beyond a text editor and a ruby interpreter.

I heartily recommend Chris Pine's "Learn to Program" available online as a tutorial, or from the Pragmatic Bookshelf:
http://pine.fm/LearnToProgram/
 
Paolo Perrotta
author
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Contrary to Java, that requires a solid grounding before you can start using it, Ruby is pretty easy to approach. As long as you understand OOP (and you're willing to understand some functional-style programming), you can begin with Ruby by just goofing around and reading introductory tutorials. If you want to be systematic, the "pickaxe" book is still one of my favorites (http://pragprog.com/titles/ruby3/programming-ruby-1-9). You can also find an outdated HTML version of it on the web for free, if you want to check it out first (http://ruby-doc.org/docs/ProgrammingRuby/).
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why's (poignant) Guide to Ruby is also a great resource.

(Did anybody ever figure out what happened to him?)
 
Paolo Perrotta
author
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
_why as an identity is no more (and we all miss him a lot). The real person behind _why's identity is now on to other things.
 
Michael Sullivan
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd say that one requirement is to forget some of the things Java taught you (us). You'll need the willingness to approach OO from a different angle, because Ruby feels decidely "not" Java at times. If you don't allow yourself to "let go of Java" for a time, you'll end up writing Java code with Ruby syntax... a travesty if there ever was one!


Why's Poignant Guide to Ruby was the first real look I had at the language, a great (if not a little strange) introduction. Glad that it's still available.
 
Shashank Agarwalg
Ranch Hand
Posts: 110
Android Java Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey which book is best for the beginers.
 
Michael Sullivan
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used the pixaxe book to learn Ruby, but have found both Beginning Ruby and The Well Grounded Rubyist to be well worth the time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic