Thursday, 1 March 2007

CRITISIZE GANG OF FOUR ELEMENT OF PATTERN AND THE PREFER ONE THAT YOU LIKE.WEEK 3

The lecture today was fun because we discuss about a good topic they everyone in the class as been waiting for. we were given chance to criticize gang of four element of pattern and choose the one we are comfortable with.

CRITISIZE GANG OF FOUR ELEMENT OF PATTERN AND THE PREFER ONE THAT YOU LIKE.

According to all reading and all the research I have done, I believe pattern should be some thing sample not complex. The reason why I concluded that this should be done that way is because the people using this pattern are not all expert.
Gangs of four element of pattern are too complex for new learner in pattern, so I will not like to implement gang of four elements of patterns. But I will like some of the element should be taking out of it because they are repeated.
The following are gang of four element of pattern.

Name that describes the pattern
Problem to be solved by the pattern
Context, or settings, in which the problem occurs
Forces that could influence the problem or its solution
Solution proposed to the problem
Context for the solution
Rationale behind the solution (examples and stories of past successes or failures often go here)
Known uses and related patterns
Author and date information
References and keywords used or searching
Sample code related to the solution, if it helps


Name: YES. Name of the pattern is good to be there.
Problem: YES. Problem is another area which needs to be included.
Context: YES. Context is important because that is what describes what the real problem is so it’s cool to be there.
Force: NO. Force is one of the elements which I don’t like to be among the element of the GOF element of pattern.
Solution: YES. When there is a problem, there is always a solution.
Context: NO. Is already there, there is no case for repetitions.
Rationale behind the solution. NO. This is a repetition as well, so to me I think it’s not advisable to include that to it.
Known uses: YES. Is always good for some one to find out the knows user of the pattern before doing it.

After going through other Arthur element of pattern (Alexander c, GOF, copper j w) I think the Alexander way of element of pattern is the best because it good for new use, it’s straight forward and can be easy easily manipulated.
But still I want some thing to be added to the Alexander element of design e.g. name of the pattern. He’s way of pattern can be used in any environment and all part of life.

2 comments:

Ibrahim Thuku said...

hey,
i have through your work and personally i think for your blog to be of help to others i think you should also include your understanding and explanation on the criticsms that you have made on individual elements.this way your blog would be more easier to understand and more informative.
keep up.

GillesdeBiaks said...

Hello. By looking at what you have done you've made an effort to let us know of what you think on the GOF pattern. Your criticism seems to be unclear as you didn't give enough explanation and I personally think that the GOF element of pattern are useful for novices in pattern. Thank you for your blog as I have also discovered another way of thinking about pattern.