
Re: W.alk(Xml) Haxe utility for XML.
On the one hand I definitely agree with you, and in any other case I would certainly do it! But, the specific of this thing is that normally the code of such format:
Code:
foo.fooBar().barFoo().anotherMeanigfulFunctionName().yetAnotherFunction()
* Macaroni style *Would be considered hard to read and, well, I just don't like to write it like:
Code:
foo.fooBar().barFoo(
).anotherMeanigfulFunctionName(
).yetAnotherFunction()
* Linq style *Well, it seems even more wrong to me...
Ideally, if I was able to use some special characters rather then letters (compare AS3 @ for attributes and . for nodes), that would be best, but, since it's not really possible, I'd rather stick to what I have... Well, because the intent for it is to be more like a regexp / xpath, not really function calls.
But I do understand your attitude. Well, let's say, I'll do more cleaning of the code, give it some more comments etc, and will post it in a few more boards, and we'll see, if I'll get more feedback like yours I'll change that to "normal" names.