Hostname: page-component-8448b6f56d-cfpbc Total loading time: 0 Render date: 2024-04-18T10:06:51.141Z Has data issue: false hasContentIssue false

The risks and benefits of teaching purely functional programming in first year

Published online by Cambridge University Press:  14 January 2004

MANUEL M. T. CHAKRAVARTY
Affiliation:
School of Computer Science and Engineering, University of New South Wales, NSW, Australia (e-mail: chak@cse.unsw.edu.au)
GABRIELE KELLER
Affiliation:
School of Computer Science and Engineering, University of New South Wales, NSW, Australia (e-mail: keller@cse.unsw.edu.au)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

We argue that teaching purely functional programming as such in freshman courses is detrimental to both the curriculum as well as to promoting the paradigm. Instead, we need to focus on the more general aims of teaching elementary techniques of programming and essential concepts of computing. We support this viewpoint with experience gained during several semesters of teaching large first-year classes (up to 600 students) in Haskell. These classes consisted of computer science students as well as students from other disciplines. We have systematically gathered student feedback by conducting surveys after each semester. This article contributes an approach to the use of modern functional languages in first year courses and, based on this, advocates the use of functional languages in this setting.

Type
EDUCATIONAL PEARL
Copyright
© 2004 Cambridge University Press
Submit a response

Discussions

No Discussions have been published for this article.