What programming language feature allows functions to be passed as arguments to other functions or returned as results from functions?

The 4 options will be given in the comments. Upvote the one you think is correct

Answer + how many people got it right will be posted in ~ 12 hours

5 points · 4 comments · view on lemmy.world

4 Comments

Ategon@programming.dev · 14 pts · 3y

Option 3

Higher-Order Functions

Ategon@programming.dev · 0 pts · 3y

Option 4

Memoization

Ategon@programming.dev · 0 pts · 3y

Option 2

Currying

Ategon@programming.dev · 0 pts · 3y

Option 1

Monads