论文标题

CS1功能类简介

Introduction to Functional Classes in CS1

论文作者

Morazán, Marco T.

论文摘要

使用基于设计的方法和功能性编程语言介绍编程的学生会熟悉一流的功能。但是,它们很少将一流的功能连接到对象和面向对象的程序设计。这是一个错过的机会,因为学生不可避免地使用面向对象的编程语言继续学习课程。本文介绍了如何在使用功能语言的基于设计的编程介绍的设置中介绍学生。该方法使学生接触界面,类,对象和多态性调度。最初的学生反馈表明,学生从这种方法中受益。

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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源