vix.ing · top · new · best · stats · spec

Functional Baby Talk: Analysis of Code Fragments from Novice Haskell Programmers

2018/05/14 by Jeremy Singer, Blair Archibald · 1 voice
Computer Science · #cs.PL

paper · pdf · doi:10.4204/eptcs.270.3

published as EPTCS 270, 2018, pp. 37-51 · In Proceedings TFPIE 2017, arXiv:1805.04255

arxiv created 2018/05/14 · arxiv published 2018/05/14 · arxiv updated 2018/05/15

Abstract

What kinds of mistakes are made by novice Haskell developers, as they learn about functional programming? Is it possible to analyze these errors in order to improve the pedagogy of Haskell? In 2016, we delivered a massive open online course which featured an interactive code evaluation environment. We captured and analyzed 161K interactions from learners. We report typical novice developer behavior; for instance, the mean time spent on an interactive tutorial is around eight minutes. Although our environment was restricted, we gain some understanding of Haskell novice errors. Parenthesis mismatches, lexical scoping errors and do block misunderstandings are common. Finally, we make recommendations about how such beginner code evaluation environments might be enhanced.

Citations

Discussions

Related