ACM Home Page
Please provide us with feedback. Feedback
Teaching polymorphism with elementary design patterns
Full text PdfPdf (156 KB)
Source Conference on Object Oriented Programming Systems Languages and Applications archive
Companion of the 18th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications table of contents
Anaheim, CA, USA
SESSION: Educator's symposiums table of contents
Pages: 167 - 169  
Year of Publication: 2003
ISBN:1-58113-751-6
Author
Joseph Bergin  Pace University
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 28,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/949344.949393
What is a DOI?

ABSTRACT

Polymorphism is often treated as an advanced topic by educators. Many feel that if statements are in some sense more "fundamental" to computing. On the contrary, polymorphism is both fundamental to object programming and is an elementary topic that can be easily understood by students. Previous papers [1] have shown how role-play exercises can remind students that they already have a deep understanding of dynamic polymorphism. The question then becomes how do we find effective teaching techniques to present this topic when we move from the level of metaphor to that of programming. A few elementary patterns [2] can be used to teach this topic even before the student is introduced to ad-hoc selection with if statements. Teaching these patterns early has the added benefit that they are pervasive in the Java libraries, so understanding them eases the student's later work.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Andrianoff, Levine, Bergin, Role Playing: Easing the Paradigm Shift, OOPSLA 2002 Educator's Symposium, Seattle, WA
 
2
Gamma, Helm, Johnson, and Vlissides; Design Patterns; Addison-Wesley; 1995.
 
3