[ad_1]
My aim is to develop an auctioning system and I want to be able to choose the auction strategy – English, Dutch, Silent, etc – at run time.
You could just use strategy pattern (also known as the policy pattern) to accomplish exactly this.
You could also use mixins to provide the strategy instead of composition.
[ad_2]
solved Policy based design in Python [closed]