Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I've got substantial J2EE experience, have worked with Grails, and am comfortable with several languages (Perl, PHP, Smalltalk). I've decided to try a new project using Ruby on Rails. For those who've decided to migrate to a new technology stack, how do you make the transition? Do you learn the details of Ruby first (I've done a few tutorials, and feel like I've got a decent enough grasp of the language to start doing some basic work) or do you do a full Ruby on Rails tutorial, and expand your knowledge from there. I'm leaning towards the latter approach because I feel like I can delve into details of the language as I encounter them. For those who work in Ruby on Rails, how did you learn, and which resources do you recommend?

share|improve this question

5 Answers 5

up vote 2 down vote accepted

The best way to learn a new language is simply to use it (reading tutorials won't make it 'click') and one way that I've been assured is fantastic is through writing tests. I'm yet to try this myself (and will do so this weekend) but give Ruby Koans a go and let me know how you get on :)

share|improve this answer
    
I really like the daily practice this offers. And rather than just learning new syntax, helps keep you sharp by asking you to think. –  unsquared Nov 16 '10 at 14:00

I learned Rails by going through the Agile Web Development with Rails book and immediately applied everything that I learned to a real web project. I ended up with a rather substantial application (mykidslibrary.com) and a deep understanding of the framework.

share|improve this answer

There's that saying that if you spend 10,000 hours at a task you'll become an expert. So I'd say "get coding!" If you've done the tutorial then write some code to scratch an itch or join an open source ruby on rails project.

If your employer is brave/trusts you - perhaps you can build a small but useful real world project as well.

share|improve this answer

A crucial part of any project is the purpose it is aimed to satisfy. If you are just reading about a language or copying some program, the purpose isn't there, and it's just like painting by numbers.

Choose a project of your own initiative (though you can get ideas from others), not a big one, and tackle that. That way all parts of your brain will be engaged, you'll have fun, and everything you learn will be grounded in a purpose.

share|improve this answer

Read the tutorial, then go and write a 1,000 lines of code in the language. That will not make you a master but after 1k lines you should have a pretty good feel for it.

And don't be afraid to make stupid mistakes, as long as you learn from them!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.