Object Relational Mappers are evil (a meditation)

Carl Banks pavlovevidence at gmail.com
Tue Oct 6 02:00:41 EDT 2009


On Oct 5, 7:25 am, Aaron Watters <aaron.watt... at gmail.com> wrote:
> This is a bit off topic except that many Python
> programmers seem to be allergic to typing SQL.
>
> RESOLVED:  Using ORMs leads lazy programmers
> to make bad database designs.  It's better to
> carefully design your database with no invisible
> means of support and there is no reason to not
> use SQL directly for this purpose.

Yeah sure, whatever.  I'm sure a good programmer could use sql
directly and produce a tighter, faster, better-performing application
than an ORM-solution, same as you could use C to produce a tighter,
faster, better-performing application than a pure Python one.

No thanks, you can write your databases in database assembly language
if you want, I'll stick to my ORM, tyvm.

Isn't WordPress written in PHP?  Are ORMs even possible in PHP?  I can
almost rationalize use of direct sql if the alternative is some
hellspawn PHP ORM.



Carl Banks



More information about the Python-list mailing list