[XML-SIG] Re: foo.bar vs. foo.get_bar()

uche.ogbuji@fourthought.com uche.ogbuji@fourthought.com
Tue, 09 Nov 1999 09:31:33 -0700


Thomas B. Passin:
> In this particular example, the DOM clearly wants the name of a Node to
> never change once the Node is created.  Java can enforce this, ECMAScript
> cannot.  Python can't really enforce it either, but it doesn't have to
> provide an easy way to get around the read-only intent.

Oh yes Python can.  With __setattr__ it's a trivial matter.  Of course, that's 
the whole argument, isn't it?


-- 
Uche Ogbuji
FourThought LLC, IT Consultants
uche.ogbuji@fourthought.com	(970)481-0805
Software engineering, project management, Intranets and Extranets
http://FourThought.com		http://OpenTechnology.org