Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Builder argument swap

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: jcowan AT reutershealth.com
  • To: "Bradley S. Huffman" <hip AT cs.okstate.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Builder argument swap
  • Date: Tue, 23 Mar 2004 16:20:48 -0500

Bradley S. Huffman scripsit:

> Nils_Kilden-Pedersen AT Countrywide.Com writes:
>
> > On detach(), i.e. detach(true);
>
> The problem I have with this is you don't know what "true" means. Without
> reading the javadocs it could be interpreted as "detach node? yes!".

In general, boolean arguments suck, both for this reason and because you
frequently discover that you have more than two cases.

--
A rabbi whose congregation doesn't want John Cowan
to drive him out of town isn't a rabbi, http://www.ccil.org/~cowan
and a rabbi who lets them do it jcowan AT reutershealth.com
isn't a man. --Jewish saying http://www.reutershealth.com




Archive powered by MHonArc 2.6.24.

Top of Page