The heading of this post is my latest challenge as I’m continuing to battle out this problem. The domain I’m working (travel and leasure) is such a mess that it has myriad pricing and discounting strategies. At any given instance 0,1 or 1< rules will be applied to a final price.

                   Also the users of the system has to be able to just keep on adding new pricing, discounting rules to the system without any trouble and also to stop applying particular rules when not needed.

My task is to try and solve this the Object Oriented way……………………………..So Naturally the first place I looked up was patterns. Strategy and Composite are two such patterns which looked promising……………….but I need a much closer look in to my problem before making up my mind.