First-class functions/Use numbers analogously: Difference between revisions

Omit from Java
(New task as a comparison for First-class functions, with Python example.)
 
(Omit from Java)
Line 61:
</lang>
As can be see, the treatment of functions is very close to the treatment of numbers. there are no extra wrappers, or function pointer syntax added, for example.
{{omit from|Java|Can't pass around expressions like that.}}
Anonymous user