News for hackers. Stuff that matters.
Re:Write an SQL query builder in 150 lines of Python by awinter-py on Friday August 27, 2021 @10:26AM (#28328210)
benefits of ORMs:

  - allow certain apps to work with any sql dialect (though tbh I question the value of this in the age of docker)  
  - makes simple selects easier  
  - enables plugins for web libraries
I think the 3rd thing is the most valuable. If you're in an ecosystem like django / rails, you can consume plugins that integrate with your sql backend and your schema more or less automatically.
Re:Write an SQL query builder in 150 lines of Python by wutwutwutwut on Friday August 27, 2021 @11:37AM (#28329190)
> tbh I question the value of this in the age of docker

Haha. In the world outside of HN, big companies enforce specific database servers for reasons such as centralized monitoring, security, compliance and competence. Setting all this aside because of "docker" is classic HN.