Question

I am very new to Ruby and Rails, so if this is a dumb question, please bear with me.

The ideas that Ruby adopted are not so new and revolutionary. Functional programming, dynamic typing and meta-programming, they exist in other languages as well.

Then why did Rails chose Ruby, but not Python, Scheme, JavaScript or any other language?

What features of Ruby helped Rails to prosper?

Was it helpful?

Solution

There's this keynote by DHH which is somewhat related.

And here's an interview with Jason Fried, which touches this question.

Jason: Ruby on Rails is the open source web application framework we extracted from Basecamp. When we built Basecamp we didn't know we were building Rails at the same time, but that's exactly how it happened. Basecamp came first; Rails was born from Basecamp. Basecamp was the divine chicken, Rails was the egg.

I had some natural hesitation about using Ruby at first ("What the #@!* is Ruby?" "Why don't we just use PHP--it served us well before?"), but David Heinemeier Hansson, the first engineer on the Basecamp project, cogently made the case and I bought it. I'm thrilled with the results.

I think it's apparent that David's strong preference for using Ruby in his projects was the key.

OTHER TIPS

Here's a similar question, with plenty of discussion: https://softwareengineering.stackexchange.com/questions/99192/why-was-rails-written-in-ruby

Also, check out this podcast with David Heinemeier Hansson that talks about his inspiration for RoR: http://thisdeveloperslife.com/post/1-0-5-homerun

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top