Looking for a language/framework

Scott David Daniels scott.daniels at acm.org
Sat Apr 1 13:24:46 EST 2006


Gregor Horvath wrote:
>> But what you overlook is SQL's strength:
>>
>>     SQL can be translated into _very_ efficient query plans w/o changing
>> the SQL.  SQL's query optimizers (more properly, de-pessimizers) give
> 
> Premature optimization is the root of all evil.
> 
> On the top level of an appliciation the goal is to only have problem or
> domain specific code.
> Middelware or ORM is a way to this goal because it encapsulates and
> hides the technical details of persistence and helps for cleaner code.
> 
Using a relational DBMS is most definitely _not_ premature optimization.
A relational system provides a way to store data so that it is later
possible to go back into your DBMS setup and improve the performance
of your program _without_changing_the_program's_code_.  The ORM
structure prevents this ability by abstracting away the meaningful
structure.  The database structures built are as good a DB organization
as code generated by code generation programs: the meaning is obscured,
and the generated (structure / code) is hard to work with.

--Scott David Daniels
scott.daniels at acm.org



More information about the Python-list mailing list