Click here to Skip to main content
15,899,314 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Maintainable Design Pattern Pin
Udayakiran Kallavi29-Oct-15 7:20
Udayakiran Kallavi29-Oct-15 7:20 
QuestionQuestion about Programming Language/Architecture For A Specialized Reporting Tool Pin
Member 120472219-Oct-15 15:46
Member 120472219-Oct-15 15:46 
AnswerRe: Question about Programming Language/Architecture For A Specialized Reporting Tool Pin
Gerry Schmitz18-Oct-15 23:29
mveGerry Schmitz18-Oct-15 23:29 
QuestionDiscussion - Backward Compatibility Implementation Strategies Pin
Lior Cohen9-Oct-15 0:00
Lior Cohen9-Oct-15 0:00 
AnswerRe: Discussion - Backward Compatibility Implementation Strategies Pin
Eddy Vluggen9-Oct-15 1:34
professionalEddy Vluggen9-Oct-15 1:34 
GeneralRe: Discussion - Backward Compatibility Implementation Strategies Pin
Lior Cohen9-Oct-15 1:46
Lior Cohen9-Oct-15 1:46 
GeneralRe: Discussion - Backward Compatibility Implementation Strategies Pin
Eddy Vluggen9-Oct-15 2:41
professionalEddy Vluggen9-Oct-15 2:41 
GeneralRe: Discussion - Backward Compatibility Implementation Strategies Pin
Lior Cohen9-Oct-15 6:26
Lior Cohen9-Oct-15 6:26 
Eddy Vluggen wrote:
you'd be fixing minimal two places.

I think i need to describe my system a little, as I don't understand why you claim I need to fix a bug in both places.
My code is an image processing module (no UI).
The input is an image and a parameters bundle we call a "recipe".
one of the recipe parameters is the version of this recipe.
The recipe is created from the same context so it always created with the version of its creator.

In pseudo code is

out = process(in, recipe)


Approach 1 implementation will be like this:

out = process(in, recipe) {
if recipe is of version Jan {out=process_Jan(in, recipe)} // process_Jan

else {out=process_Feb(in, recipe)} // process_Feb is the current up to date version
}


Now suppose there is a bug on process_Jan (the old). Fixing the bug will change the results anyway so the customer had 2 options
1. Stay with the Jan version including the bug (bug compatibility Big Grin | :-D )
or
2. Move to a new March version with bug fix but with different results.

The bug fix will be change the code like this

out = process(in, recipe) {
if recipe is of version Jan {out=process_Jan(in, recipe)} // process_Jan

else if recipe is of version Feb {out=process_Feb(in, recipe)} // process_Feb

else {out=process_Mar(in, recipe)} // process_Mar is the current up to date version with the bug fix
}


so here I changed the bug only on Mar and not in all places.
Please try to explain on this example.

modified 10-Oct-15 10:05am.

GeneralRe: Discussion - Backward Compatibility Implementation Strategies Pin
Eddy Vluggen10-Oct-15 3:49
professionalEddy Vluggen10-Oct-15 3:49 
AnswerRe: Discussion - Backward Compatibility Implementation Strategies Pin
Gerry Schmitz10-Oct-15 8:48
mveGerry Schmitz10-Oct-15 8:48 
AnswerRe: Discussion - Backward Compatibility Implementation Strategies Pin
Avani Ass23-Nov-15 22:41
Avani Ass23-Nov-15 22:41 
Suggestioncustom Css not working on MAC operating system Pin
Gurjit Singh8-Oct-15 21:09
Gurjit Singh8-Oct-15 21:09 
GeneralRe: custom Css not working on MAC operating system Pin
Pete O'Hanlon8-Oct-15 21:47
mvePete O'Hanlon8-Oct-15 21:47 
QuestionNeed Help on IEEE Paper"Privacy Preserving Ranked Multi-Keyword Search for multiple data Owners in cloud computing" Pin
ADITYA.JADHAV998-Oct-15 0:55
ADITYA.JADHAV998-Oct-15 0:55 
AnswerRe: Need Help on IEEE Paper"Privacy Preserving Ranked Multi-Keyword Search for multiple data Owners in cloud computing" Pin
Pete O'Hanlon8-Oct-15 1:28
mvePete O'Hanlon8-Oct-15 1:28 
QuestionRe: Need Help on IEEE Paper"Privacy Preserving Ranked Multi-Keyword Search for multiple data Owners in cloud computing" Pin
Paul Conrad13-Oct-15 5:21
professionalPaul Conrad13-Oct-15 5:21 
QuestionLaptop Problem with Black Screen Pin
h5h62-Oct-15 10:56
h5h62-Oct-15 10:56 
AnswerRe: Laptop Problem with Black Screen Pin
Kaaron7-Oct-15 14:19
Kaaron7-Oct-15 14:19 
QuestionIn fear of bloated Statergy Pattern Implementations Pin
popchecker22-Sep-15 21:03
popchecker22-Sep-15 21:03 
AnswerRe: In fear of bloated Statergy Pattern Implementations Pin
Eddy Vluggen22-Sep-15 23:27
professionalEddy Vluggen22-Sep-15 23:27 
SuggestionRe: In fear of bloated Statergy Pattern Implementations Pin
Richard Deeming23-Sep-15 1:49
mveRichard Deeming23-Sep-15 1:49 
AnswerRe: In fear of bloated Statergy Pattern Implementations Pin
jschell3-Oct-15 7:04
jschell3-Oct-15 7:04 
QuestionCan we configure team foundation server (TFS) on our local machine such as windows 7 or windows 8 Pin
Anjani Rajdev22-Sep-15 3:11
Anjani Rajdev22-Sep-15 3:11 
QuestionWindows 10 System Colors Pin
jung-kreidler11-Sep-15 1:52
jung-kreidler11-Sep-15 1:52 
QuestionSOLID Principles, Three Layers... Is this okey? Pin
MarkosElCojudo5-Sep-15 8:35
MarkosElCojudo5-Sep-15 8:35 

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.