Some languages like JavaScript treat functions as data, letting you pass them around, assign them to variables, pass them into other functions, etc. Other languages don’t. Not sure how I feel about this.
CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.
@valleyforge @alex A nice list of languages that do/don’t: https://en.wikipedia.org/wiki/First-class_function