Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save JordanMartinez/42620c40d90a626e76cdda5c04948a80 to your computer and use it in GitHub Desktop.

Select an option

Save JordanMartinez/42620c40d90a626e76cdda5c04948a80 to your computer and use it in GitHub Desktop.
Economic Benefits of Functional Programming Languages

A Translation of the Economical Benefits of Functional Programming Languages

Name of Video: Michael Snoyman- Economic Argument for Functional Programming- λC 20 Global Edition

Source: https://youtu.be/n7QETok5hYI?t=3195

What developers say What managers should hear
Allows us to write more "declarative" code
  • Spend more time on adding new features or other enhancements due to spending less time on code review
  • Add new features or make needed changes faster and without adding new flaws to current code
Uses immutable data by default Wake up engineers at 3am less often so they can fix bugs:
  • Reduce the risk of race conditions
  • Reduce the risk of business logic errors
Combinators
  • Reusable concepts lead to less time spent learning new concepts for each library/dependency used
Mathematical abstractions
  • Reduce the number of bugs due to using a more consistent "lawful" interface
Static type checking
  • Remove some classes of bugs entirely (no language can remove all bugs, but some unnecessarily allow some classes of bug)
  • Spend more time writing real code by reducing the burden of writing and maintaing tests;
  • Increase customer satisfaction by enabling QA to focus on higher impact bugs
More fun to write
  • Reduce the cost of hiring and training replacements by increasing staff retention
  • More easily recruit talented developers as many developers are looking to write code in an FP language
Explicit effects / higher order functions / purity
  • These language features work together to probably make code easier to maintain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment