Hi Zhonpen This and many similar clases exist due to pressure, lack of design and the hope that such a solution will be short term.
Essentially all pats of the Modle Interface separate our own code from some 3rd party library of classes and that library has changed over subsequent releases. By just passing around object from this library within our code as Java Objects it isolates the areas of our code that need to change if that library changes drastically again, You can see here the list of library changes - http://argouml.tigris.org/wiki/Model_Interface_History<http://argouml.tigris.org/wiki/Model_Interface_History?highlight=%28model%29%7C%28interface%29> Here is my criticism of what has resulted - http://argouml.tigris.org/wiki/Model_Interface_Criticisms<http://argouml.tigris.org/wiki/Model_Interface_Criticisms?highlight=%28model%29%7C%28interface%29> This is what I've proposed as a solution (there have been alternative proposals too) - http://argouml.tigris.org/wiki/Repository_Comparison_With_Model_Interface Regards Bob On 27 April 2012 04:23, Zhongpeng Lin <[email protected]> wrote: > Hello, > > I found most of methods declared in Corehelper are procedural style > instead of OO style: object of an operations is passed as a parameter > of the operation, as oppose to calling operations on the object. By > putting all the "utility methods" in this interface, it makes its > implementing classes god classes. Also, it seems that CoreHelper was > not introduced accidentally, but was designed intentionally. What is > the design rationale of this class instead of distributing the > function among classes? Did such god classes do any harm to the > development? > > I am a PhD student doing research on the evolution of god classes. Any > inspiration would be appreciated! > > Regards, > Zhongpeng Lin > > ------------------------------------------------------ > > http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2953238 > > To unsubscribe from this discussion, e-mail: [ > [email protected]]. > To be allowed to post to the list contact the mailing list moderator, > email: [[email protected]] > ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2953627 To unsubscribe from this discussion, e-mail: [[email protected]]. To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]
