Concept
Thunk 0
A 'thunk' is a programming concept where a function is used to delay the computation of a value until it is actually needed, which helps in optimizing performance and managing side effects in functional programming. Thunks are particularly useful in lazy evaluation strategies and can be employed to implement features like memoization and asynchronous operations.
Relevant Degrees