4 ms·
Only if the pure function have a few parameters and do not need to carry the world.
by andi999 4y ago
Only if the pure function have a few parameters and do not need to carry the world.
- danuker 4y agoYou can bundle the parameters into plain/pure/humble objects where it makes sense. https://khanlou.com/2014/12/pure-objects/ https://khanlou.com/2014/12/pure-objects/ http://xunitpatterns.com/Humble%20Object.html http://xunitpatterns.com/Humble%20Object.html
- mannykannot 4y ago'Where it makes sense' is key - otherwise you are just stuffing the wiring behind the desk, adding to the difficulty of understanding it.