Answer the question
In order to leave comments, you need to log in
What is the difference: first class functions and higher order functions?
In programming languages there are such concepts as: first-class functions - first class functions , higher order functions - higher order functions .
After reading the definitions, it is not clear what is the difference, or are they synonyms?
Answer the question
In order to leave comments, you need to log in
Higher-order functions are functions that can take other functions and return functions. first-class functions is a language feature that allows variables to contain function references. In fact, they are different things, but separately there is not much sense in them :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question