Namespaces/introspection: collecting sql strings for validation

Alex Martelli aleax at mac.com
Tue Apr 24 01:22:15 EDT 2007


Martin Drautzburg <Martin.Drautzburg at web.de> wrote:

> George Sakkis wrote:
> 
> > Yes, there is: use an ORM to do the SQL generation for you. Check out
> > SQLAlchemy, it will buy you much more than what you asked for.
> 
> Might look, though in general I don't like OR mappers much. Having SQL
> generated feels as strange as having python code generated. Too much
> magic, too many layers. I think it is better to simply learn SQL.

Amen, brother; this opinion is definitely an outdated and minority one,
today, but I do tend to share it (and yet I'm programming in Django a
lot these days... ah well, consistency, hobgoblin, little minds, &c:-).


Alex



More information about the Python-list mailing list