OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] XML as "passive data" (Re: [xml-dev] The Browser Wars are

[ Lists Home | Date Index | Thread Index ]
  • To: "Berend de Boer" <berend@xsol.com>,"K. Ari Krupnikov" <ari@cogsci.ed.ac.uk>
  • Subject: RE: [xml-dev] XML as "passive data" (Re: [xml-dev] The Browser Wars are Dead! Long Live the Browser Wars!)
  • From: "Dare Obasanjo" <dareo@microsoft.com>
  • Date: Wed, 23 Oct 2002 15:01:45 -0700
  • Cc: "Simon St.Laurent" <simonstl@simonstl.com>,"xml-dev" <xml-dev@lists.xml.org>
  • Thread-index: AcJ60xnpcicQzPLRTUmXW6sRByyiMAAC5g27
  • Thread-topic: [xml-dev] XML as "passive data" (Re: [xml-dev] The Browser Wars are Dead! Long Live the Browser Wars!)

Class invariants are alternatives to private methods and members in simple cases. However, I do agree that in many cases having private members can be rendered irrelevant if class invariants are used. 
 
Where security is a primary concern I'd rather trust the use of private members and methods than class invariants though. Of course, my lack of experience with Eiffel may be the reason I tend to prefer Java/C#/C++ constructs. :) 

	-----Original Message----- 
	From: Berend de Boer [mailto:berend@xsol.com] 
	Sent: Wed 10/23/2002 1:29 PM 
	To: K. Ari Krupnikov 
	Cc: Simon St.Laurent; xml-dev 
	Subject: Re: [xml-dev] XML as "passive data" (Re: [xml-dev] The Browser Wars are Dead! Long Live the Browser Wars!)
	
	

	K. Ari Krupnikov wrote:
	
	>I disagree. Making something private marks it as unimportant to the
	>user (who, as the saying goes, might be you in three months).
	>
	No, making something private is mainly a hack by languages that don't
	have class invariants. Visibility of features to clients comes secondary
	here.
	
	Regards,
	
	Berend. (-:
	
	
	-----------------------------------------------------------------
	The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
	initiative of OASIS <http://www.oasis-open.org>
	
	The list archives are at http://lists.xml.org/archives/xml-dev/
	
	To subscribe or unsubscribe from this list use the subscription
	manager: <http://lists.xml.org/ob/adm.pl>
	
	





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS