No. Applications are not functions. How many applications that you use on a daily basis work as follows: 1. You prepare some parameters 2. You start the application with those parameters. 3. The application goes away and thinks for a bit. 4. The application returns with a result and then exits. Trying to make actual applications and system fit into the function (or procedure) mold is, IMHO, one of the biggest obstacl…
Your numbered list seems like an appeal from incredulity based on the title rather than an interaction with the article. TFA basically describes Elm’s architecture https://guide.elm-lang.org/architecture/ which is one of the state of the art abstractions for building applications where you model state changes in a central function. Or watch Gary Bernhardt's "Functional core, imperative shell" talk ( https://www.destr…
Here is a quote from the article:
Fundamentally an application can be written to have at it’s core, a single, stateless pure function, behold!
And my point is that, yes, you can do that, but you shouldn't.