Question: What does it mean for a function to be a 'first class object/citizen'? It means that there is a specific keyword to create functions unlike

 What does it mean for a function to be a 'first

What does it mean for a function to be a 'first class object/citizen'? It means that there is a specific keyword to create functions unlike Java/C/C++ where there is no keyword It means that functions are the core abstraction of the language A function is treated like other data types and can be passed, used and returned by functions It means, "hold on to your head - we're doing recursion

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!