Re:Please do not attempt to simplify this code
by cannabis_sam on Sunday December 30, 2018 @08:55AM
(#18789171)
Like your link says: doesn’t lambda lifting solve that problem?
That’s what I always do if I want to move an auxillary function to the top-level for reusing elsewhere.
This runs the risk of strongly coupling them to the main binding and making them less reusable. IMHO strong coupling where two bindings are aware of each others' internals should be avoided.