The use of functional programming languages in the first programming course at many universities is well-established and effective. Invariably, however, students must progress to study object-oriented programming. This article presents how the first steps of this transition have been successfully implemented at Seton Hall University. The developed methodology builds on the students' experience with type-based design acquired in their previous introduction to programming courses. The transition is made smooth by explicitly showing students that the design lessons they have internalized are relevant in object-oriented programming. This allows for new abstractions offered by object-oriented programming languages to be more easily taught and used by students. Empirical evidence collected from students in the course suggests that the approach developed is effective and that the transition is smooth.
翻译:许多大学在第一个方案编制课程中使用功能性编程语言是既定和有效的,然而,学生在学习面向目标的方案编制方面总是必须取得进展;这一条介绍了Seton Hall大学如何成功地实施这一过渡的初步步骤;所开发的方法基于学生在以前向方案编制课程介绍时获得的基于类型设计的经验;通过明确向学生表明他们已经内在化的设计教益与面向目标的方案编制相关,使过渡顺利进行;这让以面向目标的方案编制语言提供的新抽象教益更容易被学生教授和使用;从课程中学生收集的经验证据表明,所开发的方法是有效的,过渡是平稳的。