Re: D5 - Class\Collection example??



"Tom de Neef" <tdeneef@xxxxxxxx> wrote in message
news:47123f5f$0$239$e4fe514c@xxxxxxxxxxxxxxxxx
"Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx> schreef in bericht
news:47123117$0$238$e4fe514c@xxxxxxxxxxxxxxxxx

<code>

Interesting. (By the way: what does ConsentsToBreakup do ?)

(Straight face) It returns a Boolean.


But real life is more complex than this.

Er... yes. Let's not make more out of this than it was. (That means
you, too, DoDi.) This was a demonstration of a reflexive property. It
lays out the pattern for updating properties in objects to which you
acquire a reference, without causing infinite recursion.

Nothing more.


[...] Setting up genealogical relations needs to be done in a
different way.

It does. This code only kept an ongoing model current. Describing
history is best served by a collection of facts. Facts are added
whenever something changes, and are never modified or deleted.
When the current situation must be determined from the history,
it can be deduced.

Or, since computing the current state of the model from a list of
patches can be an ungodly amount of work, the current state can be
tracked as changes are applied. In a database, this amounts to
denormalisation, and doing so is indeed a common way to improve
performance.

Groetjes,
Maarten Wiltink


.



Relevant Pages

  • Re: talk.origins darwinists lie about the holocaust
    ... > in religious history as it did in misunderstanding science. ... Hitler exploited the racist ideas of Darwinism to justify genocide". ... Well, I suppose you are correct that the facts quoted are "selective", ...
    (talk.origins)
  • Re: Jesus Christ -- Clashing Biblical Images
    ... bothering to cite a contemporary Roman who says "those Christians are nuts ... author vs. the redactor 2) manuscript evidence or 3) external sources ... historical facts surrounding the political climate at the time this took ... place, and the subsequent history of Rome, the Church and the people who ...
    (soc.history.medieval)
  • Re: Homo erectus, city dweller and sailor
    ... science means by the term 'theory', he is not wrong, and Ken is. ... I had my facts wrong. ... I have studied world history, human history, religions, philosophy, ... Thenthe instant ice age was followed up by a 19,000 year ...
    (sci.archaeology)
  • Re: Dilbert on Ahmadinejad
    ... They look back and see no end to wars, no end to differences, so all the ideas of right and wrong and bad were guilty of making 'differences' and the source of wars and strife must be sourced in the attempt to be 'right'. ... It is an inversion of facts and history and has to rewrite history and the facts to make it so, that everyone is guilty and none more so than others. ... You are a leftists dwarf of moral and historical inversion. ...
    (rec.martial-arts)
  • Re: THE GENESES OF THE FALSE THEORIES IN PHYSICS
    ... Then try studying the facts of history. ... You look at others opinions of how science works. ... Working daily with scientists that are doing science was necessary. ...
    (sci.physics.relativity)