Manuel Meyer
Jul 15, 2022

--

The technique you are using here is called "partial application", where a function is executed and returns one or several functions that share access to the outer functions body and there-for state.

as I show in the following and other articles, partial application can be used to build systems of any complexity (so I use swift).

https://decodemeester.medium.com/khipu-rapid-and-sustainable-software-creation-in-swift-using-engineering-and-science-principles-312a933cce57?sk=8359f48cc06571e53de156db8cbc005c

--

--

Manuel Meyer
Manuel Meyer

Written by Manuel Meyer

Freelance Software Developer and Code Strategist.

Responses (1)