Modeling a block diagram
I have a predefined flowchart composed entirely of boolean conditions and a bunch of logic that needs to be executed in response.
The flow is unlikely to change much, but there is little opportunity. (new steps may be introduced or the order of conditions may change)
What would be the best way to code this? Large set of nested if else statements? Workflow Foundation? Anything else?
a source to share
If flexibility is not a top priority, you can go and just hard-code the logic of the entire logic circuit. Simple is best. Structure your code according to the original flowchart concepts, so it will be easy to see the analogy and make changes in the future if needed.
Windows Workflow Foundation can be a good tool if you are already familiar with it or ready to accept the learning curve.
a source to share
ROCs that have a confirmed changeability invite the State machine for implementation. Whether you are working your way all the way to a state pattern or just implementing a state machine (data driven apparently has no YET justification in your described case) is the implementation detail.
a source to share