This week is my second presentation of java design pattern. I presented the template design pattern during the lesson. I had heard that the template design pattern is one of the easiest to understand of all the 24 types of design patterns that are taught in the syllabus. I am the third to present. I had given a short descriptions on the java template design pattern , follow by where does it implement, how does it benefits to the developer , the structure of the template design pattern and last but not least the coding as an example of the java design pattern.
By using Template design pattern , it helps to refactor common behaviour to simplified code however , if a beginner who is unfamiliar with coding and have little knowledge on Java programming , he might be having difficulties in writing and reading the code. Template design pattern is defined s the program skeleton of an algorithm in an operation. Template Methods lets subclasses redefine certain steps of an algorithm without changing the algorithm structure. Thus , the template methods helps to manage hte larger picture of task semantics , and more refined implementation details of selection and sequence of methods.
In total, there are 6 of us presented the design pattern. We are asked to grade our peer during the presentation. Some of the pattern i still having trouble to figure out , i will find a day to read up the methods and try it on myself.
Last but not least , Mr Mok had brought up the structure and the requirement of assignement 2. He had briefly tell us the scope and the java design methods that we are supose to use in our assignement 2. I had found my group members who are Han lin thet and John. I hope for the coming assignment , we can work and excel in a group. I am looking forward in this coming project ... learning journey of java coding is going to begin in my next phase of life..hehe...
Tuesday, October 23, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment