What design patter to use? if any

Want to know your opinion on this use case, simplified, I have a task, with several subprocess (function calls, objects and such), these subprocess calculate deviations and parameters for the main subprocess (depicted as subprocess 4),

Currently each subprocess has a direct access to subprocess 4 but that seems not optimal, some subprocesses calculate multiple parameters so a simple return is not possible, and also most of them read from subprocess 4 (depicted as bidirectional arrow)

what could be a good design pattern for this mess?

here an image of the process for more clarity:

https://imgur.com/a/boi0cGE

submitted by /u/yoko911
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/qeDYRVr

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close