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] Greenspun's tenth law rears its head: was InnerXmlis like

[ Lists Home | Date Index | Thread Index ]

At 2:25 PM +0100 9/23/02, Bill de hÓra wrote:

>If that's an argument from thread safety (is it?),

No, it's not. It comes from JavaBeans more than anywhere. And also
from the principle of least surprise. I find mutators that return
non-void very surprising. Of course, if this pattern became more
common, it might be less surprising.

>for anyone that's interested: the book "a little java, a few patterns"
>is an interesting counterpoint to this mutators return void argument. A
>nice read.

I'll check it out if I can find a copy.
--

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+




 

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

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