DE version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
100% Positive
Analyzed from 234 words in the discussion.
Trending Topics
#orms#rails#benefit#abstractions#sql#css#means#needs#typing#javascript

Discussion (5 Comments)Read Original on HackerNews
AI ate your hyphen?
Also AI does not benefit from abstractions such as ORMs - you are far better to have your AI write SQL.
That goes for all abstractions including CSS JavaScript and everything else Rails has wrapped.
Golang with raw SQL CSS JavaScript works really well cause it avoids many abstractions and affordances that Rails makes to humanize programming.
And it can benefit from ORMs, because it means less tokens.
The biggest advantage of Rails is convention over configuration. Standardisation means AI is trained on lots of standardised codebases. So that still pays in AI land. The question to me is whether that’s such a big upside that it gives a real edge. Not sure on that; Python has way more code overall.
I agree on ORMs, but that would apply with or without AI for me personally. ORMs and ActiveRecord are an obvious and well documented anti-pattern at this point in time.