Tips for Teaching Types and Functions

被引:0
|
作者
Ruehr, Fritz [1 ]
机构
[1] Willamette Univ, Salem, OR 97301 USA
关键词
Pedagogy; higher-order functions; function types; punch-hole diagrams; power rings;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Many beginning students of functional programming have difficulty understanding higher-order functions and their types. Experienced functional programmers have such a close familiarity and intuitive grasp of these crucial concepts that they may find it hard to "bridge the gap," so as to provide their students with a firm understanding of these ideas. I describe a loosely-related cluster of tips and techniques which address the pedagogy of higher-order functions and types, for students with varying degrees of mathematical background and different learning styles-these techniques include tabular presentations, code tools, visual metaphors and an abstract algebra. Although the underlying ideas will be familiar to experts, I believe these presentations can help educators bring important ideas in functional programming to a broader range of students, with less pain and with a deeper understanding.
引用
收藏
页码:79 / 90
页数:12
相关论文
共 50 条