Click here to Skip to main content
15,888,968 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: DRY Pin
Eddy Vluggen13-Apr-11 10:25
professionalEddy Vluggen13-Apr-11 10:25 
GeneralRe: DRY Pin
Pete O'Hanlon13-Apr-11 10:30
mvePete O'Hanlon13-Apr-11 10:30 
GeneralRe: DRY Pin
Eddy Vluggen13-Apr-11 12:11
professionalEddy Vluggen13-Apr-11 12:11 
GeneralRe: DRY Pin
Pete O'Hanlon14-Apr-11 4:04
mvePete O'Hanlon14-Apr-11 4:04 
GeneralRe: DRY Pin
Eddy Vluggen13-Apr-11 10:19
professionalEddy Vluggen13-Apr-11 10:19 
AnswerRe: DRY Pin
RobCroll15-Apr-11 18:55
RobCroll15-Apr-11 18:55 
GeneralRe: DRY Pin
Member 448708315-Apr-11 22:52
Member 448708315-Apr-11 22:52 
AnswerRe: DRY Pin
GParkings2-Sep-11 2:17
GParkings2-Sep-11 2:17 
I am an almost religious advocate of the DRY principle (I have broken it a few times but either through extreme need or the decision wasn't mine to make.. and believe me, in that case, i fought it bitterly)

In my experience, there are a LOT of developers out there happy to throw the DRY principle away and they cite the following excuses:

- Time constraints
- Budget constraints
- Too high impact on existing (flawed) design
- Inexperience (excuse usually given by someone else on their behalf)

Personally i find i generally design a system in my head, then as I'm coding it spot areas where I'm in danger of breaching the DRY principle and, in rooting these out, a better design surfaces.

I guess there are two types of developer, the first measures their success in designing and building an application by the elegance of the end design and its adherence to good coding practice, the second measures their success by meeting performance targets.

I have worked in environments where some developers were bringing in unmaintainable messes early and under budget and were praised by the PHBs as examples for the rest of us coders (scraping by the budgets with elegant solutions)

Sloppy coding can give you a short-term gain, but its gonna bite you in the arse eventually

IsRanting = false; Poke tongue | ;-P
QuestionHow do you specify states? State Pattern, Enums or ...? Pin
Keld Ølykke11-Apr-11 8:49
Keld Ølykke11-Apr-11 8:49 
AnswerRe: How do you specify states? State Pattern, Enums or ...? Pin
RobCroll15-Apr-11 19:04
RobCroll15-Apr-11 19:04 
GeneralRe: How do you specify states? State Pattern, Enums or ...? Pin
Keld Ølykke24-May-11 2:28
Keld Ølykke24-May-11 2:28 
QuestionSetup global settings with abstract class and reflection to avoid xml configuration file Pin
Kannan Ar25-Mar-11 18:33
professionalKannan Ar25-Mar-11 18:33 
AnswerRe: Setup global settings with abstract class and reflection to avoid xml configuration file Pin
Keld Ølykke4-Apr-11 12:17
Keld Ølykke4-Apr-11 12:17 
QuestionGUI design for Harware configuration Pin
Praveen Raghuvanshi15-Mar-11 8:57
professionalPraveen Raghuvanshi15-Mar-11 8:57 
QuestionChat Feature Pin
Civic068-Mar-11 7:38
Civic068-Mar-11 7:38 
AnswerRe: Chat Feature Pin
grmihel28-Mar-11 22:14
grmihel28-Mar-11 22:14 
AnswerRe: Chat Feature Pin
Richard MacCutchan8-Mar-11 23:28
mveRichard MacCutchan8-Mar-11 23:28 
QuestionGRASP: Controller architecture, correct and wrong. Pin
grmihel28-Mar-11 3:42
grmihel28-Mar-11 3:42 
AnswerRe: GRASP: Controller architecture, correct and wrong. Pin
Piccadilly Yum Yum8-Mar-11 5:25
Piccadilly Yum Yum8-Mar-11 5:25 
GeneralRe: GRASP: Controller architecture, correct and wrong. Pin
grmihel28-Mar-11 22:12
grmihel28-Mar-11 22:12 
GeneralRe: GRASP: Controller architecture, correct and wrong. Pin
Piccadilly Yum Yum8-Mar-11 22:57
Piccadilly Yum Yum8-Mar-11 22:57 
QuestionDatabase alerts [modified] Pin
gbovee7-Mar-11 11:25
gbovee7-Mar-11 11:25 
AnswerRe: Database alerts Pin
Eddy Vluggen8-Mar-11 2:05
professionalEddy Vluggen8-Mar-11 2:05 
QuestionI dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? [modified] Pin
Nadia Monalisa27-Feb-11 14:59
Nadia Monalisa27-Feb-11 14:59 
AnswerRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Pete O'Hanlon27-Feb-11 20:40
mvePete O'Hanlon27-Feb-11 20:40 

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.