Re: How should a container class "know" its contained objects?



On Jan 16, 11:13 am, Veloz <michaelve...@xxxxxxxxx> wrote:
No you don't. You have to honor and enforce the behavioral relationships
dictated by the domain. That's what OO is about.

Wow, that really got me thinking. ..  I suspect this line of thought
is related to the quote
you sent from Martin, in which he talks about not designing the
solution by mimicking the
domain entities and their relationships, but rather by.. I guess..
finding the "essence" of the
responsibilities that have to be provided for in the domain (aka the
behaviors) and then modeling
those.

Yes?

Right. Unless, of course, you are writing a database application,
where you are basically taking data, transforming it (in some possibly
very complex way,) then presenting it to the user.
.



Relevant Pages

  • Re: How should a container class "know" its contained objects?
    ... I suspect this line of thought ... is related to the quote ... behaviors) and then modeling ...
    (comp.object)
  • The Seven Essentials To Writing A Press Release
    ... Working in the music industry has its perks, privileges, and pains as ... Writing a press release may prove to be a challenge to those whose ... Find a good quote that is relevant to your press release and ... distributed to your target audience and as many appropriate sites as ...
    (rec.music.makers)
  • The Seven Essentials To Writing A Press Release
    ... Working in the music industry has its perks, privileges, and pains as ... Writing a press release may prove to be a challenge to those whose ... Find a good quote that is relevant to your press release and ... distributed to your target audience and as many appropriate sites as ...
    (rec.music.compose)
  • The Seven Essentials To Writing A Press Release
    ... Working in the music industry has its perks, privileges, and pains as ... Writing a press release may prove to be a challenge to those whose ... Find a good quote that is relevant to your press release and ... distributed to your target audience and as many appropriate sites as ...
    (rec.music.misc)
  • The Seven Essentials To Writing A Press Release
    ... Working in the music industry has its perks, privileges, and pains as ... Writing a press release may prove to be a challenge to those whose ... Find a good quote that is relevant to your press release and ... distributed to your target audience and as many appropriate sites as ...
    (rec.music.newage)