Functional Baby Talk:Haskell新手代码片段分析
Functional Baby Talk: Analysis of Code Fragments from Novice Haskell Programmers
摘要:
Haskell开发新手在学习函数式编程时会犯什么样的错误?有没有可能分析这些错误来改进Haskell的教学方法?在2016年,我们提供了一个大规模的开放式在线课程,其中包括一个交互式代码评估环境。我们捕获并分析了来自学习者的161 K交互。我们报告了典型的新手开发者行为;例如,花在交互式教程上的平均时间约为8分钟。虽然我们的环境受到限制,但我们对Haskell新手的错误有了一些了解。括号不匹配,词汇范围错误和do块误解是常见的。最后,我们就如何增强这种初学者代码评估环境提出了建议。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。