News for hackers. Stuff that matters.
Re:How to Make Websites That Will Require Lots of Your Time ... by sjducb on Tuesday July 29, 2025 @05:30AM (#44721114)
100%

If a dev thinks that all SQL can be written by hand then they probably haven’t worked with a complex application that relies on complex data.

A good question to ask them is: what problems do ORMs solve? Good answers are:

Schema Changes + migration

Security

Code Traceability (I have a DB field, where is it used)

Code Readability

Standardisation - easy hiring.

Separation of data layer logic and application layer logic.

Code organisation, most ORMs make you put methods that act on a table in a sensible place.

Re:How to Make Websites That Will Require Lots of Your Time ... by pluto_modadic on Tuesday July 29, 2025 @06:10AM (#44721388)
I like Django's ORM for good schema migration. Other "ORMs" people build do not often have a good story around that. So often it's because developers aren't experiencing the best ORMs they could.
Re:How to Make Websites That Will Require Lots of Your Time ... by sjducb on Tuesday July 29, 2025 @06:17AM (#44721438)
Homegrown ORMs are universally terrible and a lot of the anti ORM crowd are really anti homegrown ORM.

I’ve used Django, SQLalchemy and Hibernate. All three have good migration stories.