2 ms·
I think Python is a wonderful language to teach functional programming since it is so accessible for many definitions. One has to go a little off the rails to g
by sitkack 9y ago
I think Python is a wonderful language to teach functional programming since it is so accessible for many definitions. One has to go a little off the rails to get all the functional features, but it is possible.
- Myrmornis 9y agoI also suspect this makes sense for an introductory FP class (FP, not static typing). The students have already already met the language, and they can compare functional and imperative styles of solutions to the same problem. I think I’d go with python, and then have one or two lectures near the end showing a language dedicated to FP / static typing.
- sitkack 9y agoYeah, and by using a widely available language, they can actually use these techniques in the field.