4 ms·
What are some patterns that can be used to implement this? I can think of using a Rule Engine but not sure if there are any performant ones and they don't seem
by victor106 4y ago
What are some patterns that can be used to implement this?
I can think of using a Rule Engine but not sure if there are any performant ones and they don't seem to be used much.
- layer8 4y agoUsually it just means that you have a function like `isValidPizzaToppings(ToppingsList)` somewhere that you call in multiple places, instead of having a condition `myToppings.count() >= 1` in multiple places. So, just normal functional abstraction.