thunk
「thunk」の発音・読み方
カタカナ読み(目安)サンク
「thunk」の意味
「thunk」の例文
He created a thunk to evaluate the expression later.
彼はその式を後で評価するための遅延評価関数を作った。
「thunk」の複数形
| 複数形 | thunks |
|---|
「thunk」のレベル別の例文
- 中学
The program stores the calculation in a thunk.
- 高校・英検2級
- TOEIC・ビジネス
The development team wrapped the database query in a thunk.
- 日常会話
Why use a thunk here?
ここでthunkを使うのはなぜ?
「 thunk」のコアイメージ コアイメージ
計算を実行せず包んで保持し、必要なときに評価する
「thunk」のよく使う型
「thunk」とよく一緒に使う語
「thunk」のよくある間違い
✕ I thunk the answer was five.
○ I thought the answer was five.
thunkはプログラミング用語であり、標準英語ではthinkの過去形として使いません。
✕ a thunk means any ordinary function
○ A thunk is a function or expression whose evaluation is delayed.
thunkは単なる関数全般ではなく、評価を後回しにする関数や式を指します。
「 thunk」の英英 英英
A parameterless function or small wrapper that postpones evaluation of an expression until its value is needed.
「 thunk」の語源 語源
thunkは、1960年代にプログラミング用語として登場し、実行を遅らせる小さな関数やラッパーを指す語として定着した。
「 thunk」のコラム コラム
- thunkは引数を取らない小さなラッパーであり、式がいつ評価されるかによって動作や性能に影響を与える点が実務で重要になる。