Lonely Programmer
andradei's profile
Isaac de Andrade@andradei•Aug 16
51K
Post cover image

Why use ORMs if LLMs write code?

Avatar of ploehploeh blog•From blog.ploeh.dk•Aug 13•2m read time

An ORM skeptic argues that with LLMs now capable of writing boilerplate code, the traditional justification for using ORMs (avoiding tedious SQL mapping code) largely disappears. The author contends that ORM query optimization already requires deep expertise and workarounds, undermining the promise of abstraction, and suggests it may be simpler to have an LLM write parametrized SQL directly rather than fight with an ORM's implicit API, while cautioning about SQL injection risks.

125.2K Impressions3 Comments
andradei's user avatar
Isaac de Andrade
@andradei
Joined Sep 11. 2024
51K

Perpetual student. Project Manager. Programmer.

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard