Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Section on motivations #18

Open
samcunliffe opened this issue Dec 19, 2024 · 1 comment
Open

Section on motivations #18

samcunliffe opened this issue Dec 19, 2024 · 1 comment
Labels
core Essential material feedback Actionable feedback from the audience

Comments

@samcunliffe
Copy link
Member

Possibly it should go in the top-level readme, if not then episode 1.

we're missing motivations. It's difficult because I think most people learned functional programming as a technical curiosity or a way of thinking about computing mathematically. Then after a while you notice that functional programs don't suffer from certain issues that plague imperative programs.

Why learn functional programming

  • Refactoring
  • Testability
  • Provable correctness (although perhaps we don’t want to get into that?)
  • Separation of responsibility (side-effectful code in one place)
  • Readability… functional style often results in short functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Essential material feedback Actionable feedback from the audience
Projects
None yet
Development

No branches or pull requests

1 participant