Functional Programming Flashcards
1
Q
Functional Programming:
Compare: First-class and higher-order functions
A
Higher-order functions are functions that can either take other functions as arguments or return them as results.
First-class functions can appear anywhere in the program that other first-class entities like numbers can, including as arguments to other functions and as their return values