TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Thunks: Old-fashioned closures?

5 点作者 techdog将近 16 年前

2 条评论

RiderOfGiraffes将近 16 年前
From: <a href="http://en.wiktionary.org/wiki/thunk" rel="nofollow">http://en.wiktionary.org/wiki/thunk</a><p><pre><code> Claimed by the inventors to be from the supposed past tense, being coined when they realised after much thought (whence "thunk") that the type of an argument in ALGOL 60 could be predetermined at compile time; </code></pre> Certainly that's what Ingerman said to me.<p>Related to this, I'm finding myself using "Lunk," "Cluck," and "Drug" as the past tense versions of "Link", "Click" and "Drag". They're easier to say, and most people seem to understand without effort.
lispm将近 16 年前
In the Lisp 'world' a thunk is often a function/closure with no parameters.
评论 #667539 未加载