4 ms·
Typical case of code providing policy instead of mechanism, the solution of course being to provide policy over numerous classes, rules engines, etc instead of
by fleitz 11y ago
Typical case of code providing policy instead of mechanism, the solution of course being to provide policy over numerous classes, rules engines, etc instead of writing a few methods that provide mechanism.
eg. Why is this method concerned with whether the notification is email or something else...
Are persons not also the case of a group with one member?
It seems less like refactoring and more like hiding complexity in frameworks.