4 ms·
From my experience, ORMs allow folk who know nothing about databases to continue knowing nothing about databases
by zero_shift 3y ago
From my experience, ORMs allow folk who know nothing about databases to continue knowing nothing about databases
- masklinn 3y agoAnd from my experience, forcing people who know nothing about databases to write SQL will not make them learn about databases, all you end up with is worse SQL and more injections. Although the worse offenders by far are those which decide ORM = bad and bypass it at every opportunity.
- zero_shift 3y agoThat's fair, ORMs can be slow but they rule out a whole category of basic mistakes
- tracker1 3y agoAnd introduce plenty more. over-fetching, unindexed joins across many tables being two of the more common.
- wnolens 3y agoIsn't that just a useful abstraction?
- mickeyp 3y agoSo let's ban ORMs because newbies don't know the entire toolchain. Yes, that will definitely solve it. Why stop there? Let's ban RDBMS. If you can't contemplate a binary file structure and index strategy perfectly tailored to your application's needs ahead of using an RDBMS, why should we deign to let you use an abstraction layer with clever query planning and algorithms? It's all too easy to morally 'ban' people from technology and gatekeep it behind wishy-washy nonsense like "ORMs are bad for beginners."
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- zero_shift 3y ago(this was a flippant remark, if I could edit it I would reword it)
- boxed 3y agoC allows people who can't build a CPU from NAND gates to do programming :P
- felipetrz 3y agoNAND gates allow people who can't build transistors from self-mined ores to build CPUs.