Re:Code Health: Make Interfaces Hard to Misuse (2018)
by Smaug123 on Sunday September 06, 2020 @09:18AM
(#24391108)
Yes and no - `doThing` itself is less inspectable, and it's sometimes helpful to separate the implementation from the instructions. (I wrote https://www.gresearch.co.uk/article/defunctionalisation/ ; the usual introduction is https://blog.sigplan.org/2019/12/30/defunctionalization-ever... .)
[ Parent
| on HN ]