Click here to Skip to main content
15,923,845 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionOptimization algorithm Pin
Gordon Knot5-Mar-14 14:05
Gordon Knot5-Mar-14 14:05 
AnswerRe: Optimization algorithm Pin
Richard MacCutchan5-Mar-14 22:39
mveRichard MacCutchan5-Mar-14 22:39 
QuestionMathematical calculation of rating Pin
M i s t e r L i s t e r5-Mar-14 7:12
M i s t e r L i s t e r5-Mar-14 7:12 
QuestionRe: Mathematical calculation of rating Pin
Richard Deeming5-Mar-14 8:29
mveRichard Deeming5-Mar-14 8:29 
AnswerRe: Mathematical calculation of rating Pin
M i s t e r L i s t e r5-Mar-14 8:40
M i s t e r L i s t e r5-Mar-14 8:40 
GeneralRe: Mathematical calculation of rating Pin
Richard Deeming5-Mar-14 9:44
mveRichard Deeming5-Mar-14 9:44 
QuestionAm I using dependency injection, interfaces, unit testing, in the correct manner? Pin
AndyStephens4-Mar-14 2:03
AndyStephens4-Mar-14 2:03 
AnswerRe: Am I using dependency injection, interfaces, unit testing, in the correct manner? Pin
Jonathan Davies4-Mar-14 5:57
Jonathan Davies4-Mar-14 5:57 
I'd guess that any meaningful answer has to be based on the reasons you are using the techniques. Interfaces and a framework in a team environment and managed in a central way can be, as I found, a very good way of managing the code people write and also a extremely useful mechanism that enables the interaction of code written in different languages and by different teams. The ability to have another person write a test based on an interface is also very useful.

If you're working by yourself some of the benefits interfaces can bring as just mentioned might be regarded as wasted coding time but perhaps bring benefits that are worth the extra code at design and debug time and also in introducing some discipline. However if you're writing code that you expect others to have to work with in the future you're probably contributing to their being able to understand it relatively quickly - though are probably demanding a fair level of expertise from those future people by your selection of framework etc.

Also if your code is part of a generic platform used across applications then using interfaces etc. probably contributes to that. However if its for a specific instance then as you suggest you may be adding generality that's not required.

From another perspective i.e. yours, rather than 'the company' are you learning skills and methods that improve your standards - it can get very boring doing the simple things without new approaches.

I suppose you've got to way the pros and cons on each technique from say a client, company(over say a N year period) and personal perspective to reach a real conclusion.
QuestionCodeProject Infrastructure Pin
CodeHawkz18-Feb-14 12:34
CodeHawkz18-Feb-14 12:34 
AnswerRe: CodeProject Infrastructure Pin
Richard MacCutchan18-Feb-14 22:30
mveRichard MacCutchan18-Feb-14 22:30 
GeneralRe: CodeProject Infrastructure Pin
CodeHawkz19-Feb-14 6:47
CodeHawkz19-Feb-14 6:47 
AnswerRe: CodeProject Infrastructure Pin
thatraja18-Feb-14 23:56
professionalthatraja18-Feb-14 23:56 
GeneralRe: CodeProject Infrastructure Pin
CodeHawkz19-Feb-14 6:50
CodeHawkz19-Feb-14 6:50 
GeneralRe: CodeProject Infrastructure Pin
thatraja19-Feb-14 7:07
professionalthatraja19-Feb-14 7:07 
GeneralRe: CodeProject Infrastructure Pin
CodeHawkz19-Feb-14 7:42
CodeHawkz19-Feb-14 7:42 
QuestionMultiple methods vs Single method with enum Pin
Harley L. Pebley18-Feb-14 7:51
Harley L. Pebley18-Feb-14 7:51 
AnswerRe: Multiple methods vs Single method with enum Pin
jschell18-Feb-14 9:07
jschell18-Feb-14 9:07 
GeneralRe: Multiple methods vs Single method with enum Pin
Harley L. Pebley19-Feb-14 5:21
Harley L. Pebley19-Feb-14 5:21 
GeneralRe: Multiple methods vs Single method with enum Pin
jschell20-Feb-14 8:12
jschell20-Feb-14 8:12 
GeneralRe: Multiple methods vs Single method with enum Pin
Harley L. Pebley20-Feb-14 9:53
Harley L. Pebley20-Feb-14 9:53 
GeneralRe: Multiple methods vs Single method with enum Pin
jschell21-Feb-14 9:05
jschell21-Feb-14 9:05 
GeneralRe: Multiple methods vs Single method with enum Pin
Harley L. Pebley21-Feb-14 9:54
Harley L. Pebley21-Feb-14 9:54 
AnswerRe: Multiple methods vs Single method with enum Pin
Bernhard Hiller18-Feb-14 21:34
Bernhard Hiller18-Feb-14 21:34 
GeneralRe: Multiple methods vs Single method with enum Pin
Eddy Vluggen19-Feb-14 0:32
professionalEddy Vluggen19-Feb-14 0:32 
GeneralRe: Multiple methods vs Single method with enum Pin
Harley L. Pebley19-Feb-14 5:26
Harley L. Pebley19-Feb-14 5:26 

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.