What are first-class functions?
A programming language is said to have first-class functions if it supports passing functions as arguments to other functions, returning them as the values from other functions, and assigning them to variables or storing them in data strucures.
References
- https://en.wikipedia.org/wiki/First-class_function
Categories :
Programming