| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: PIZZA time again :-)
David Cressey wrote:
> mAsterdam wrote: >
> > > Off topic: I have always assumed that the toppings on a pizza form an > (unordered) set, that > >
> > will use exactly the same ingredients, prepare and cook exactly the same > way, cost exactly as much, and taste exactly the same. I would be VERY > surprised if Domino's had a different opinion.
Asuuming they don't, I wonder if this was a deliberate decision to keep things simple.
> And that brings me back to the topic: > > You can ALWAYS represent a set as if it were a list, by simply presenting > the elements in an arbitrary order. You can ALWAYS represent a list as if > it were a set, by including an attribute that marks each element's position > in the list.
How are you going to do that in our hypothetical PIZZA ordering system? It is, I suspect, a non-trivial excersize if we want the user not to notice the implementation.
> The question is not WHETHER the above can be done. The question is WHEN it > SHOULD be done.
And WHY - and if it can be prevented. Received on Wed Sep 07 2005 - 12:09:04 CDT
![]() |
![]() |