In Discount rules, part 1 we found implicit coupling between three different classes in a shopping application written in Python. If you haven’t read that article yet, why not do that now and have a think about how you would refactor the code to deal with the coupling we found. Done that? Okay, let’s look for solutions…
Discount rules, part 2
Discount rules, part 2
Discount rules, part 2
In Discount rules, part 1 we found implicit coupling between three different classes in a shopping application written in Python. If you haven’t read that article yet, why not do that now and have a think about how you would refactor the code to deal with the coupling we found. Done that? Okay, let’s look for solutions…