Re: Separation of concerns
- From: "Thomas Kowalski" <th-ko@xxxxxx>
- Date: 29 Mar 2007 00:38:25 -0700
That is a matter of generalization rather than separation of concerns.
Then what would be a good example for the usage of separation of
concerns?
However, the notion of -able (drawable, persistable, etc.) is often
symptomatic of an abuse of OO generalization that is related to
separation of concerns. This is a variation on the sort of composition
one finds in functional programming. One composes objects by providing
disparate responsibilities through inheritance (often multiple
inheritance). The resulting object is a hybrid of logically unrelated
groups of properties.
Agreed. I would rather put the draw method inside of the class A or B,
but I want to create this software to be a piece that shows good use
of the OO Priciples (for me that includes seperation of cencers).
Regards,
Thomas Kowalski
.
- Follow-Ups:
- Re: Separation of concerns
- From: H. S. Lahman
- Re: Separation of concerns
- References:
- Separation of concerns
- From: Thomas Kowalski
- Re: Separation of concerns
- From: H. S. Lahman
- Separation of concerns
- Prev by Date: Re: Double Dispatch Problem: Mobile Creatures and Projectiles in a Game World
- Next by Date: Re: Separation of concerns
- Previous by thread: Re: Separation of concerns
- Next by thread: Re: Separation of concerns
- Index(es):