Daily Term: Higher-Order Function
Higher-Order Function
A Higher-Order Function is a function that either takes other functions as arguments, returns a function, or both. For example, in JavaScript, Array.map is a higher-order function that applies a given function to each array element. Higher-order functions enable abstraction and code reuse, common in functional programming, but they can make code harder to read for developers unfamiliar with the paradigm.
Date: 2025-12-07