Right Traq Blog

Why I Love Rails

Posted by acts_as_flinn Wed, 28 Jun 2006 04:13:00 GMT

I have been hacking away on TraqInventory for quite some time now, though this is not the first application I have developed using Rails I am reminded daily why Ruby on Rails is by far the best thing since sliced bread.

I recently had the pleasure of lunch with a good friend of mine who is a cobol programmer. He was telling me about his experiences having to pick up the slack from a programmer who recently left the company he works for. In a little over 5 days he’s written 2000 lines of new code. That in itself is a feat within the time frame, but I couldn’t help but think to myself about my own experiences with other languages like PHP, ASP or Cold Fusion. While all of those languages have come a long way, none come close to rails.

I then proceeded to share with my friend the experiences I’ve had with rails, and I tried to break down the concept for him. I explained ActiveRecord and how effective the design pattern is in Ruby, code generation, associations, etc.

In the end it comes down to the simple things, take for instance this snip of code:

for letter in 'A'..'Z'

It does exactly what it looks like it does, iterate through the upper case alphabet giving me letter to work with. I used this recently for a filter I created. You can do similar magic with number, and while this seems relatively simple it is. The fact is the simple things that have been thought about in the design of Ruby make the harder things much easier when you get to them.

Posted in Rails Development | no comments | no trackbacks

Older posts: 1 2 3