DEV Community

Discussion on: Why is functional programming gaining popularity?

Collapse
 
bobbypriambodo profile image
Bobby Priambodo

Because many programming problems are easier to model as a series of data transformations, as opposed to a set of mappings of real-world objects. React and Elm show that it's intuitive for creating stateful UI apps. Phoenix (Elixir's web framework) shows that a typical web app can be represented as a pipeline of functions transforming the received connection. We have chained functions (commands) on terminals for as long as I could remember.