[4suite] Re: [XML-SIG] empty namespaces

Mike Brown mike@skew.org
Tue, 20 Nov 2001 11:11:54 -0700 (MST)


Alexandre Fayolle wrote:
> > I don't think so. We're not going to change this, so I don't really
> > see what we achieve by it.
> 
> Source code readability. In the code I write, I tend to use symbolic
> constants for the namespaces I use. Having EMPTY_NAMESPACE as an alias for
> None makes the code more readable. 

A stronger argument might be that "None" is ubiquitous and generic,
whereas a constant has specific semantics. I can appreciate wanting
to distinguish between an accidental None and a deliberate EMPTY_NAMESPACE.

   - Mike
____________________________________________________________________________
  mike j. brown, fourthought.com  |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  personal: http://hyperreal.org/~mike/