From: T. O. <tra...@ru...> - 2004-09-09 00:09:25
|
On Wednesday 08 September 2004 07:37 pm, Clark C. Evans wrote: > On Wed, Sep 08, 2004 at 07:19:35PM -0400, T. Onoma wrote: > | If a "customer" loaded this: > | > | --- > | a: 1 > | b: 2 > | a: 3 > | > | What would happen? According to the "YAML Model" an error would be > | be thrown saying "you got it wrong dumb dumb". > > Yep. I'd expect every YAML Parser to do the same thing, in > fact, this exact item will have to be in the YAML Test Suite. > > | Anyhow, that' my suggestion concerning this. It makes things a lot less > | complex, gets rid of the warts, and is a very simple thing to offer. > > I'm not even going to humor a reconsideration of the > core model, sorry. You act like I'm putting a match to the whole model! This is really a very minor point, one new _recommended_ type and a small three sentence foot note to the spec. Yet, you act like the whole thing would tumble apart if it were allowed. Unfortunately, you will have to continue to deal with the ambiguities created when "resolution" fails due to TAG, or float vs. integer, or implicit tags, etc. You will endlessly debate the question of equality, needlessly, and you will continue to wonder "who John Doe really is". Mark my words: You will _never_ have 100% implementation compliance to the spec. I think great things about you, but you're just too caught up on a theory despite practicality. By the way, have you ever heard the saying "Sometimes you have to kill your babies?" Well, IMHO, you have yourself a baby. Yes, we've debated this before. -- T. |