Re: How does one model behavior?
Date: Thu, 10 Apr 2008 12:45:05 GMT
"Phlip" <phlip2005_at_gmail.com> wrote in message
> David Cressey wrote:
> > How does one model behavior?
> > It would seem to me that, since conveying behavior from one object to
> > another rests on messages, and since messages are made of data, that
> > needs a data model for the messaging system before one begins to come up
> > with a bhavior model for a system of collaborating objects.
> > Or is there another completely different way of setting things up?
> What's the worst thing that could happen if you get this data model
> before you write the code?
I've seen what can go wrong, several times, where people have started with the "wrong" data model and have built a database. There are various flavors of "wrong" and various kinds of unfortunate consequences. If I had to summarize, at the expense of over simplifying, I would say that the data in the database will be less useful and more costly than it otherwise would have been.
But it may be that the pitfalls in writing code and the pitfalls in building a database are quite different. So I look forward to reading what programmers have to say about this. Received on Thu Apr 10 2008 - 14:45:05 CEST