On Jul 20, 2006, at 9:56 AM, Simon Willison wrote: > > On 20 Jul 2006, at 15:47, walterbyrd wrote: > >> If I were "up to speed" with python and django, could I develop as >> quickly as I could with a code generator? > > Yes. As a general rule, code generators are unnecessary if you are > using a sufficiently dynamic language (such as Python). Historical > note: the Django ORM was originally written as a code generator, but > was refactored over a year ago to use metaclasses (a dynamic language > feature) to achieve the same effect in a more elegant, more > maintainable way.
You also might want to check out what James had to say about this: http://www.b-list.org/weblog/2006/07/17/helpers-scaffolding-tradeoffs- and-other-stuff (read the section titled "DO NOT EDIT THIS FILE MANUALLY"). Jacob (James: you need anchors inside your stories, yo.) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---