בהרצאה שנוכחתי בה השבוע הובא קטע ממאמר של ברטרנד מאייר שמבקר את UML. מאייר מביא קטע מאחד הספרים של UML שאמור להסביר שPatterns זה רעיון טוב, אבל מיושם כבר ב-UML על ידי Interaction Diagrams:
The interesting aspect of many patterns is their dynamic behavior. We can certainly show this with interaction diagrams, but only in the context of a specific model; it is harder to keep the "patternness" of the patterns open. Finally patterns are templates, in a sense, in which classes, associations, attributes and operations might all be mapped into different names which [I wonder if this should be "while"?] keeping the essence of the pattern; we need a way to clearly parameterize the patterns. Nevertheless we feel that we have enough facilities to capture patterns within the UML by expressing them in terms of interactions.”
|