Click here to Skip to main content
15,894,011 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
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 
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 
In my opinion, also if you ask your profs, you should avoid cyclic dependencies between assemblies but not between classes. You should try to minimize coupling but you can not avoid it altogether. Afterall, the classes need to communicate with each other to accomplish whatever needs to be accomplished.

You can create an interface and you can always do so but remember you still have a cyclic dependency but it is less direct. Now you are tied to something which implements the interface.

If you never want to allow contact creation without group, then do not allow its creation unless from within the group: Contact c = aGroup.NewContact() and Group will call contact's constructor.

Cyclic dependency is bad between assemblies because of compilation race.

CodingYoshi

Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07

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 
QuestionForms vs Dialogs - A Question of Architecture Pin
Roger Wright1-Apr-09 19:43
professionalRoger Wright1-Apr-09 19:43 
AnswerRe: Forms vs Dialogs - A Question of Architecture Pin
led mike2-Apr-09 8:45
led mike2-Apr-09 8:45 

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.