Hacker News new | ask | show | jobs
by Toutouxc 1129 days ago
> speed comes from code re-use (mostly gems)

> Once you get experienced in rails, you primarily glue things together

Both of these are equally true for most other languages with mature ecosystems. IMO the speed of Rails development reflects the speed of Ruby development in general. The standard library has everything, all kinds of little methods for all kinds of little things. Combine that with ActiveSupport extensions and you can do everything.

  Date.today + 3.years + 2.days
  234.in?(2..235)
  [1,2,3].all?(&:odd?)
1 comments

It's Active Record that makes rails code re-use especially unique. I don't know of any other framework where you can 1) be certain of the ORM 2) add database tables from a third party library 3) the whole experience not being cobbled together.
Laravel? Unsure exactly what you're meaning by #2, but Laravel's Eloquent is an Active Record-style ORM, and can act as a layer on top of most db tables I've used it on.
Django?