Re:What can be learned from studying long gone development p...
by zozbot234 on Monday August 16, 2021 @06:59AM
(#28196759)
> Returning a function is nothing else as returning a pointer to a memory location.
That depends. If the language supports proper first-class functions, it's basically an instruction pointer plus a record of the variable bindings the function code is "closed over" (i.e. parameterized on). Many languages do support this nowadays.
That depends. If the language supports proper first-class functions, it's basically an instruction pointer plus a record of the variable bindings the function code is "closed over" (i.e. parameterized on). Many languages do support this nowadays.