Forum Discussion
Thunking vs. Stuffing - Is there a difference?
Here is my initial take - a thunk is a conceptual tool associated with delaying execution of a function, i.e. delaying a verb. The stuffing is about making data callable, i.e. verbifying a noun. On an abstract level, the goal of the two methods is not the same - the thunk is about when to create data while the stuffing is about what to do with the data once created - use it once, us it now, use it multiple times, use it later, etc.
Facially the base case of "store this data" appears to be addressed by the alternative syntaxes, but the stuffing is immediately at home in the world of composition/functional programming idioms. If nothing else, by avoiding "thunks" you don't necessarily invoke the conceptual baggage that comes with them.
What I can't articulate, however, is if there is any evaluative/programmatic distinction between them. I'm looking for the dirt at the margins of excel implementation/execution. The sort of stuff that djclements implicated when explaining how byrows operating over a choose formula is not exactly what you might imagine it to be. Is there any context in which a basic "guard this element and expose it when called" is better served (or made worse off) by the stuff formulation rather than the thunk one?