[Zope] tino's <dtml-in> improvements Why, DC?

Jim Fulton jim@digicool.com
Wed, 28 Mar 2001 08:19:13 -0500


Tino Wildenhain wrote:
> 
> Hi Jim,
> 
> ...
> > > The second part shows only up, if a programmer _decides_ to use it.
> > > E.g. if you dont use the prefix argument, it is still "sequence" and
> > > therefore perfectly compatible with code assuming this.
> > > If you, however decide to use the prefix, you should know what you
> > > do as always.
> >
> > But in this case, you are being explicit and it should be easy to pick a
> > name that doesn't exist.
> >
> > The prefix part of the patch makes the aliasing part of the patch unnecessary,
> > since you can always get nice names using the prefix attribute.
> 
> You forget about these ugly hypenations :)

I think we are not communicating. I assume that the names introduced
via prefixes are constructed with underscores, not hyphens, so the
use of prefixed names solves the hyphenation problem. Right?

Prefix-introduced names don't cause namespace pollution because they are
under the control of the script author, who knows what names she is using.

Jim


--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org