Re:Objection to ORM Hatred
by raverbashing on Monday January 16, 2023 @02:38AM
(#34397944)
- SQL is so easy and so useful
SQL is not hard, it just sucks. Massively. "So useful" in the same way BASIC was useful for 80's computers.
- You will never switch databases
You might not want, but you might need to
- If you ever get enough scale to require optimization the ORM will be your enemy
BS. Most ORMs do let you drop into SQL, no problem. This is usually one or two queries on a whole project that merit this treatment
If things are slow you can probably optimize stuff at the ORM level itself (or your modeling was done by interns - which would be a problem regardless of ORM or no ORM)
SQL is not hard, it just sucks. Massively. "So useful" in the same way BASIC was useful for 80's computers.
- You will never switch databases
You might not want, but you might need to
- If you ever get enough scale to require optimization the ORM will be your enemy
BS. Most ORMs do let you drop into SQL, no problem. This is usually one or two queries on a whole project that merit this treatment
If things are slow you can probably optimize stuff at the ORM level itself (or your modeling was done by interns - which would be a problem regardless of ORM or no ORM)