2014-02-26

Introduction to Command Design Pattern (Java, C# Example)


2 comments:

  1. Perfect explanation. Thanks a lot!!

    ReplyDelete
  2. Very informative post, Shantonu!!! The only drawback I see in this pattern is the no of classes that have to be created. Say for example, I need to create a reusable method for entering value in a text box, then I need 3 classes to do this 1) TextBoxInvoker 2) TextboxReceiver 3) TextBoxCommand. The number of classes become huge. Apart from that, this pattern is very good.

    ReplyDelete