2 ms·
See my other comment here : https://news.ycombinator.com/item?id=37522577 https://news.ycombinator.com/item?id=37522577 The issue is one of Policy vs. Mechanis
by rramadass 3y ago
See my other comment here : https://news.ycombinator.com/item?id=37522577 https://news.ycombinator.com/item?id=37522577
The issue is one of Policy vs. Mechanism - https://en.wikipedia.org/wiki/Separation_of_mechanism_and_policy https://en.wikipedia.org/wiki/Separation_of_mechanism_and_po...
It is "Mechanism" which should be separated out and encapsulated while "Policy" (aka business logic) is what is better centralized as a linear (possibly large) function.