Click here to Skip to main content
15,893,814 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionProject documentation Pin
yesu prakash19-Apr-09 22:40
yesu prakash19-Apr-09 22:40 
QuestionManaging software complexity Pin
MidwestLimey17-Apr-09 4:33
professionalMidwestLimey17-Apr-09 4:33 
AnswerRe: Managing software complexity Pin
led mike17-Apr-09 4:59
led mike17-Apr-09 4:59 
AnswerRe: Managing software complexity Pin
riced17-Apr-09 6:15
riced17-Apr-09 6:15 
QuestionAvoiding cycles with interfaces [modified] Pin
Quake2Player15-Apr-09 12:06
Quake2Player15-Apr-09 12:06 
AnswerRe: Avoiding cycles with interfaces Pin
Quake2Player16-Apr-09 14:49
Quake2Player16-Apr-09 14:49 
AnswerRe: Avoiding cycles with interfaces Pin
Luc Pattyn16-Apr-09 15:25
sitebuilderLuc Pattyn16-Apr-09 15:25 
GeneralRe: Avoiding cycles with interfaces Pin
Quake2Player16-Apr-09 16:04
Quake2Player16-Apr-09 16:04 
Hi, thanks for replying!..

"there wasn't really a cycle if you ask me."
The cycle is between Contact and Group.. We've been told in University that we have to avoid these cycles because of dependency and coupling (which I don't see but was hoping that someone here could tell me)..

An example where I can see the solution more clearly is for example a Car that contains an Engine, and the Engine must notify the Car that contains him something..
One solution, the one I have to avoid is: Car contains Engine, Engine contains Car

In that case one would put an interface ISomething (Car : ISomething) and the Engine instead of having a Car would have an ISomething

The difference might be that the Engine must do something on the Car (turn it on for example). And here, the contact doesnt have to do anything on the group and viceversa.

Am i right? Should i go with the cycle anyway?
GeneralRe: Avoiding cycles with interfaces [modified] Pin
Luc Pattyn16-Apr-09 16:13
sitebuilderLuc Pattyn16-Apr-09 16:13 
GeneralRe: Avoiding cycles with interfaces Pin
CodingYoshi27-May-09 3:41
CodingYoshi27-May-09 3:41 
AnswerRe: Avoiding cycles with interfaces Pin
Keld Ølykke9-Jun-09 4:48
Keld Ølykke9-Jun-09 4:48 
QuestionLooking for Suggetions Pin
FISH7868-Apr-09 12:58
FISH7868-Apr-09 12:58 
AnswerRe: Looking for Suggetions Pin
Luc Pattyn8-Apr-09 13:32
sitebuilderLuc Pattyn8-Apr-09 13:32 
GeneralRe: Looking for Suggetions Pin
FISH7868-Apr-09 14:43
FISH7868-Apr-09 14:43 
GeneralRe: Looking for Suggetions Pin
Luc Pattyn8-Apr-09 14:53
sitebuilderLuc Pattyn8-Apr-09 14:53 
GeneralRe: Looking for Suggetions Pin
FISH7868-Apr-09 15:06
FISH7868-Apr-09 15:06 
GeneralRe: Looking for Suggetions Pin
pxmedia10-Apr-09 2:47
pxmedia10-Apr-09 2:47 
QuestionIE6 and IE7 problem Pin
anujbanka17842-Apr-09 20:56
anujbanka17842-Apr-09 20:56 
Questionmaking a new file extension Pin
moonshaddow2-Apr-09 17:27
moonshaddow2-Apr-09 17:27 
AnswerRe: making a new file extension Pin
Roger Wright2-Apr-09 19:23
professionalRoger Wright2-Apr-09 19:23 
GeneralRe: making a new file extension Pin
moonshaddow2-Apr-09 19:46
moonshaddow2-Apr-09 19:46 
GeneralRe: making a new file extension Pin
dybs15-Apr-09 14:41
dybs15-Apr-09 14:41 
GeneralRe: making a new file extension Pin
moonshaddow21-Apr-09 16:04
moonshaddow21-Apr-09 16:04 
GeneralRe: making a new file extension Pin
jmussetter4-May-09 19:09
jmussetter4-May-09 19:09 
GeneralRe: making a new file extension Pin
moonshaddow4-May-09 19:15
moonshaddow4-May-09 19:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.