Calculator problem and the design recipe
Autor: | Tanya Cashorali, Viera K. Proulx |
---|---|
Rok vydání: | 2005 |
Předmět: |
Structure (mathematical logic)
Class (computer programming) Computer science Programming language computer.software_genre Computer Graphics and Computer-Aided Design Outcome (game theory) law.invention Calculator law Algorithmics ComputingMilieux_COMPUTERSANDEDUCATION Narrative Program Design Language computer Curriculum Software |
Zdroj: | ACM SIGPLAN Notices. 40:4-11 |
ISSN: | 1558-1160 0362-1340 |
DOI: | 10.1145/1057474.1057478 |
Popis: | This paper presents an alternative --- and what we believe a superior --- approach to designing a solution to the calculator problem due to Alphonce [1]. While Alphonce presents a fictitious one-act play between professors, this paper consists of a narrative explanation of the Java code written by this paper's coauthor, - a student who just completed the freshman year.The purpose of this paper is to illustrate the use of the DESIGN RECIPE pedagogy and the idea of focusing on the design of the structure of data, the classes, and class hierarchies, rather than the design of program actions (the algorithmics) as the core idea for program design. By contrasting the pedagogical approach and the final outcome with the "traditional" objects-first approach, we illustrate the advantages of our curriculum that teaches the students how to think about program design in a truly object-oriented style. |
Databáze: | OpenAIRE |
Externí odkaz: |