Why use ORMs if LLMs write code?
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
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.
1.2M Impressions41 Comments