Re: Normalizing Every Thing with XDb2
Date: Thu, 29 Jul 2004 09:28:11 +0300
Message-ID: <410898f2_at_post.usenet.com>
- Post for FREE via your newsreader at post.usenet.com ****
"Neo" <neo55592_at_hotmail.com> wrote in message
news:4b45d3ad.0407280949.7d6fb9d1_at_posting.google.com...
> > > create *.
> > > create * cls mass.
> > > create * quantity 1.
> > > create * unit kg.
> > >
> > > create box1 weight (mass)(1)(kg).
> > When you insert 100 boxes with different quantities, you need to assert
in
> > two different places that each number is a quantity AND a measure for
some
> > box.
> Are you in effect saying that a color needs to be "asserted" in two
> different places each time a car is added to T_Car below (assuming
> each car is a different color)? If so, what is the significance?
I was talking about quantities example, not about colors. I was talking about removing the need to assert that 1, 2, 3, are numbers each time you assert a weight, a length, a cost or at least to assert this in the same place, not in two different places.
> > Also I suggest you get rid of those parentheses
> > [ie (distance)((quantity)1)((unit)cm)]
> Doing so wouldn't indicate the same thing, just as (a)((b)c)((d)e)
> doesn't equal (a)(b(c))(d(e)) or (a)(b)(c)(d)(e) or a b c d e, etc.
> Removing parentheses would have about the same effect as removing them
> from LISP.
I don't suggest you to blindly remove the parentheses. There are ways by you can at least reduce the number of parentheses.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Usenet.com - The #1 Usenet Newsgroup Service on The Planet! *** http://www.usenet.com Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=