Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Ruby on Rails really MUCH faster to develop code? [closed]

I hear claims that Ruby on Rails makes web applications ten times faster to write. Is this really true? Do they just make a bunch of tools to make the simple stuff fast and the hard stuff impossible (without serious refactoring)? Can it handle difficult web problems like an advanced searches and AJAX webgrids? Can't other languages just use the Rails techniques and be just as fast to code?

I'm not trying to bait a holy war on languages. I'm not even asking if its better/worse than other languages with regard to syntax, security, execution speed, memory usage, etc. This question is just about time to code. Let's say I have an idea for a really cool (somewhat complicated) webapp and want it out ASAP, will Ruby on Rails give me an edge or is that claim just hype? What would you use?

like image 353
User1 Avatar asked Jan 14 '10 04:01

User1


3 Answers

Let's say I have an idea for a really cool (somewhat complicated) webapp and want it out ASAP, will Ruby on Rails give me an edge or is that claim just hype?

I'm finding that Rails has a rather steep learning curve past the trivial case, and the documentation is rather sparse. Your first project will not be faster, especially if it is somewhat complicated.

If you are trying to bring something to market and time is of the essence, the time you will lose to initially learning Rails and then refactoring out all your newbie mistakes will probably outweigh the productivity you would have gained from rails.

I like Rails, and think it is worth learning, but combining schedule pressure with unknown technologies is a recipe for disaster.

If you need to go fast right now, use what you know. If you have the time, take it to learn Ruby and Rails properly.

like image 129
Ryan Michela Avatar answered Oct 03 '22 16:10

Ryan Michela


Martin Fowler did a survey on Ruby on Rails productivity by asking 30 project leads what their subjective estimate was of RoR's productivity compared with "the best mainstream tools you know". The chart seems to show at least a 2x improvement.

As @hgimenez notes, this survey is part of Fowler's Ruby at ThoughtWorks, which sheds a lot of light on this issue.

like image 23
Jim Ferrans Avatar answered Oct 03 '22 17:10

Jim Ferrans


Ten times is probably a bit of a stretch, but I would have to say that developing with RoR is noticeably, substantially faster than with ASP.NET, which is my other web development toolkit.

like image 25
Adam Crossland Avatar answered Oct 03 '22 17:10

Adam Crossland