Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Java interfaces in CS 1 textbooks
VanDrunen T.  Object-oriented programming languages, systems, and applications (Companion to the 21st ACM SIGPLAN Conference on Object-oriented Programming Languages, Systems, and Applications, Portland, Oregon, Oct 22-26, 2006)875-880.2006.Type:Proceedings
Date Reviewed: Jan 19 2007

Object-oriented programming poses considerable problems for first-year students, and for their teachers. Concepts such as class and object, inheritance, and polymorphism are difficult for students to grasp. No less difficult is the implementation of object-oriented concepts in constructs, such as that of interface in Java. This paper provides guidance for teachers attempting to address these issues.

The paper provides teachers and textbook authors with valuable insights and information. The author, using Design patterns [1], a seminal text in object-oriented programming, discusses the definition, implementation, and complexities associated with interfaces. The author then presents the results of a survey of more than two dozen introductory texts that graphically maps how they discuss the Java interface. The chart allows teachers to compare and contrast approaches, and it dramatically illustrates the author’s point that, with few exceptions, textbooks do not adhere to Gamma’s principle that interfaces be prominently discussed in the context of subtyping and polymorphism.

The author concludes with a proposed order of presentation of object-oriented concepts and implementations: writing standalone classes, acquiring familiarity with encapsulation; substitutability and interoperability; and interfaces, which put theory into practice. Inheritance and extension then follow. The author presents a strong case for his order of presentation, but other teachers and authors adopt a different order, for equally strong reasons. This paper thus provides a basis for further discussion on the issue.

Reviewer:  Marlin Thomas Review #: CR133824
1) Gamma, E.; Helm, R.; Johnson, R.; Vlissides, J. Design patterns: elements of reusable object-oriented software. Addison-Wesley Professional, Boston, MA, 1995.
Bookmark and Share
  Reviewer Selected
Featured Reviewer
 
 
Computer And Information Science Education (K.3.2 )
 
 
Polymorphism (D.3.3 ... )
 
 
Object-Oriented Programming (D.1.5 )
 
Would you recommend this review?
yes
no
Other reviews under "Computer And Information Science Education": Date
Introducing computers (1992–93 ed.)
Blissmer R., John Wiley & Sons, Inc., New York, NY, 1992. Type: Book (9780471548447)
Apr 1 1993
Coping with computers in the elementary and middle schools
Riedesel C., Clements D. (ed), Prentice-Hall, Inc., Upper Saddle River, NJ, 1985. Type: Book (9789780131724204)
Sep 1 1986
Paradox of the active user
Carroll J., Rosson M., MIT Press, Cambridge, MA, 1987. Type: Book (9789780262031257)
Nov 1 1988
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy