3 ms·
I really don't disagree with the substance of your comment, though the Algol-family languages tend to be hard because of disorganized core libraries and occasio
by rtl49 11y ago
I really don't disagree with the substance of your comment, though the Algol-family languages tend to be hard because of disorganized core libraries and occasionally cumbersome syntax rather than because they depend on unfamiliar mathematical constructs.
I have little experience in education, but my naive hypothesis is that it would be easier to teach a child, say, Python than any FP-oriented language. I suppose it goes without saying that if children were introduced to the lambda calculus beforehand this might not remain true.
See my comment beneath the root to see my clarification of the original post.
I don't think Dijkstra would disagree with me. After all, it was he who suggested the average American programmer would benefit "more from learning, say, Latin than yet another programming language."
- thesz 11y agoThe (destructive) assignment is an extra concept in imperative programming compared to functional programming. It is also a form of resource management and incur resource management issues (do I need that value in this variable? Can I overwrite it and discard old value?). The implicit state also is an implicit communication channel between different parts of program. In FP this communication is much more explicit, especially if you use something like Software Transactional Memory. I think I listed enough points for you to reconsider your stance about Python being easier to grasp.