Skip to content

Comment on Shall We Use Clojure?parent

Comments

> With Javascript you can declare functions as variables, pass functions as arguments to other functions, return functions as the result of other functions, and use them as part of a data structure.

I'm pretty sure you can do all of those things with function pointers in C. void (*func)(void), for example.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.