thunk

Postponed evaluation container

Thunk is the past tense of think in nonstandard or dialectal speech: Who'd have thunk it?

The phrase who would have thunk expresses ironic surprise at an obvious or predictable outcome.

In computing, a thunk is a subroutine used to inject additional calculation into another subroutine—a piece of code that delays evaluation until needed.

The programming sense comes from the sound of something landing, suggesting a chunk of code dropped into place.

sound

clunk

Dull, heavy sound

smack · whack · crash · slam · knock · tap · clang · bonk · plunk · plop

impact

collision

Forceful contact between objects

  • crashSudden violent impact
  • hitSuccessful contact or strike
  • slamForceful impact or closure

bump · jolt · blow · strike · drop · landing · fall · contact · smash · knock

programming

deferred

Set aside until later

closure · callback · suspended · delayed · function · wrapper · promise · lambda · continuation

past-tense

pondered

Thought deeply about

believed · supposed · imagined · assumed · reckoned · figured

Categories
Opposites
sound quality

thunkping

Brief metallic tone

ting · clink · tinkle · chime · ring

evaluation timing

thunkcall-by-value

Argument copying semantics

Phrases
Family

thunked, thunks, thunking

Familiarity
Top 500,000
Profile
Known to kids · Used worldwide · Timeless · Concrete · Everyday, not technical · Rated G