Re:Monolith First (2015)
by 1penny42cents on Sunday February 21, 2021 @03:25AM
(#26211822)
It's not a theoretical impossibility: you can wrap every function call in a monad today if you want. It's just a practical nightmare.
APIs like Spark, for instance, make it largely transparent - processes are scheduled by the driver in nodes w/ hot data caches, and processes that fail are transparently retried; and yet this doesn't impact how you write your query. Effects systems are another thing can help us reason around i/o as function calls and handle the fail-ability.
I would bet it's a matter of lacking good accepted patterns instead of a theoretical impossibility.