Why use ORMs if LLMs write code?
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.