memrootじしょ
英和翻訳
Higher-order function
Higher-order function
/ˌhaɪər ˈɔːrdər ˈfʌŋkʃən/
ハイアーオーダーファンクション
1.
高階関数
プログラミングにおいて、他の関数を引数として受け取ったり、結果として関数を返したりする関数を指します。これにより、コードの再利用性や抽象度を高めることができます。
In
JavaScript,
`map`
is
a
common
higher-order
function.
(JavaScriptでは、`map`は一般的な高階関数です。)
In JavaScript
「JavaScript」というプログラミング言語の中で、という状況を示します。
`map`
配列の各要素に与えられた関数を実行し、新しい配列を返すJavaScriptのメソッドです。
is
「〜である」という状態を表す動詞です。
a common
「一般的な」という意味です。
higher-order function
「高階関数」を指します。
Functions
like
`filter`
and
`reduce`
are
also
higher-order
functions.
(`filter`や`reduce`のような関数も高階関数です。)
Functions like
「〜のような関数」という意味です。
`filter` and `reduce`
配列操作に用いられるJavaScriptのメソッドです。
are also
「〜もまた〜である」という追加情報を示します。
higher-order functions
「高階関数」を指します。
Higher-order
functions
enable
functional
programming
paradigms.
(高階関数は関数型プログラミングのパラダイムを可能にします。)
Higher-order functions
「高階関数」を指します。
enable
「〜を可能にする」という意味の動詞です。
functional programming paradigms
「関数型プログラミングのパラダイム」、つまり関数型プログラミングの考え方や枠組みを指します。
関連
First-class function
Callback function
Closure
Lambda function
Functional programming