phillip henry wrote: > With 5000 API methods, I know at compile time if a method is there - say, > some other developer says he is adding setAnnouncedDateOnTranche(date, > trancheId). > > With your suggestion, I do not know at compile time if the other developer > has implemented this functionality. With an explicit API method, there is > far less ambiguity and it's clear what this method is trying to do. > > I also look forward to your reply regarding the 5000 if/else blocks.
Not only 5000 if/else blocks, but also additional overhead for message queuing. So, MDP seems to definitely increase the server workload at first sight, but at the same time one could take advantage of this additional infrastructure to offer additional functionality like distributed processing. As such, I can only envisage MDP to be feasible in large systems that seek to not only offer loose coupling for the sake of interoperatability, but also want to construct a system that allows the management of messages. Thanks! -- Al _______________________________________________ patterns-discussion mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/patterns-discussion
