Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining
  • Date: Mon, 16 Aug 2004 13:59:28 -0400

I find both code fragments you sent equally opaque. I do not see that method chaining makes this any better.

Bottom line: I'm sorry but method chaining just offends my aesthetic sensibility. It's not going to happen.
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page