logoalt Hacker News

andrewstuarttoday at 5:26 PM3 repliesview on HN

AI needs typing.

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.


Replies

bbaron63today at 6:05 PM

I don't see why using AI with ORMs has no benefits. The AI could be useful in analyzing the SQL that is generated by the ORM to advise and surface potential performance bottlenecks. The AI could advise whether using lazy or eager strategies should be used.

lucisferretoday at 5:58 PM

AI needs typing? Why? That seems counterintuitive to me.

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.

show 1 reply
gabosarmientotoday at 5:48 PM

[dead]