计算机科学 > 计算机与社会
[提交于 2022年7月26日]
标题:Introduction to Functional Classes in CS1
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Students introduced to programming using a design-based approach and a functional programming language become familiar with first-class functions. They rarely, however, connect first-class functions to objects and object-oriented program design. This is a missed opportunity because students inevitably go on to courses using an object-oriented programming language. This article describes how students are introduced to objects within the setting of a design-based introduction to programming that uses a functional language. The methodology exposes students to interfaces, classes, objects, and polymorphic dispatch. Initial student feedback suggests that students benefit from the approach.
提交历史
来自:EPTCS[v1] 2022年7月26日 星期二 07:45:20 UTC