3 ms·
Functional approach is always under consideration and a default. OOP is useful in certain contexts (e.g. GUI elements) or simulations, otherwise it's better to
by karmakaze 4y ago
Functional approach is always under consideration and a default.
OOP is useful in certain contexts (e.g. GUI elements) or simulations, otherwise it's better to use OOP in a dependency-injection way to construct the process then let the relationships be static while performing computation processes with them. The full dynamic reconfigure objects willy-nilly in an area where that doesn't reflect the problem itself is doomed to be a mess. Especially with threads using mutexes or collections that do.