Title :
Explaining design patterns through one application
Author_Institution :
Dept. of Comput. Sci., California State Univ., San Marcos, CA, USA
Abstract :
The benefits of using design patterns have been widely acknowledged by experienced software professionals. However, it´s not intuitive for novice programmers to recognize appropriate patterns and apply them properly. This paper reports an experience of teaching design patterns to seniors. In that class, the requirements of an interactive quiz environment were described as if the clients requested them in multiple stages. Each stage requested additional features that were not included in the previous stage. As the requirements were presented to the students, design patterns were introduced to the students accordingly. In particular, the emphasis was to demonstrate how various design patterns could be used to minimize the impact Of requirement changes. This practice helped students see the process of recognizing appropriate design patterns. For each pattern selected, this paper presents both the original class diagram as given by the Gang of Four and the matching class diagram that illustrates the application of the pattern.
Keywords :
computer science education; software engineering; teaching; Gang of Four; class diagram; design patterns teaching; interactive quiz environment; matching class diagram; novice programmers; object-oriented design; original class diagram; requirement changes impact minimisation; software professionals; use case diagram; Application software; Books; Data structures; Encapsulation; Object oriented programming; Pattern matching; Pattern recognition; Performance analysis; Programming profession; Robustness;
Conference_Titel :
Frontiers in Education, 2002. FIE 2002. 32nd Annual
Print_ISBN :
0-7803-7444-4
DOI :
10.1109/FIE.2002.1158639