I'm trying to understand if in programming, a higher-order function always totally equivalent to a "callback".
For example, The very opener of the Wikipedia article "Higher-order function" notes that an higher-order function has two characteristics:
1. It takes one or more functions as parameters.
2. It returns a function as a result.
But AFAIK, in programming, a callback won't 100% of the time take a function as parameter (it might be other type of data as parameter) and won't 100% of the time return a function as data (it might be other data returned).