Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] prefixChild?

xom-interest AT

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Laurent Bihanic <laurent.bihanic AT>
  • To: XOM-interest <XOM-interest AT>
  • Cc:
  • Subject: Re: [XOM-interest] prefixChild?
  • Date: Mon, 05 May 2003 14:37:26 +0200

Elliotte Rusty Harold wrote:
The votes on this are running two Nos and one neutral, and I was wishy washy myself so this likely isn't going to happen. But let me ask one final question. I note that I have trouble remembering whether it's insertChild(0, node) or insertChild(node, 0). Is there any reason for preferring one order to the other? Would it be any more natural to put the index after the node rather than before? Or is this just a pick one question where I should stick with what we've got?

I can't think of any natural order applying here. Additionnally, the current
method insertChild(int, Node) uses the same parameter order as
java.util.List.add(int, Object). Just keep it as it is.


Archive powered by MHonArc 2.6.24.

Top of Page