Frameworks in CS1: a different way of introducing event-driven programming

  • Authors:
  • Henrik Bærbak Christensen;Michael E. Caspersen

  • Affiliations:
  • University of Aarhus, Denmark;University of Aarhus, Denmark

  • Venue:
  • Proceedings of the 7th annual conference on Innovation and technology in computer science education
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we argue that introducing object-oriented frameworks as subject already in the CS1 curriculum is important if we are to train the programmers of tomorrow to become just as much software reusers as software producers. We present a simple, graphical, framework that we have successfully used to introduce the principles of object-oriented frameworks to students at the introductory programming level. Our framework, while simple, introduces central abstractions such as inversion of control, event-driven programming, and variability points/hot-spots. This has provided a good starting point for introducing graphical user interface frameworks such as Java Swing and AWT as the students are not overwhelmed by all the details of such frameworks right away but given a conceptual road-map and practical experience that allow them to cope with the complexity.