DocumentCode :
2914159
Title :
Explaining design patterns through one application
Author :
Ouyang, Youwen
Author_Institution :
Dept. of Comput. Sci., California State Univ., San Marcos, CA, USA
Volume :
3
fYear :
2002
fDate :
6-9 Nov. 2002
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;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Frontiers in Education, 2002. FIE 2002. 32nd Annual
ISSN :
0190-5848
Print_ISBN :
0-7803-7444-4
Type :
conf
DOI :
10.1109/FIE.2002.1158639
Filename :
1158639
Link To Document :
بازگشت