Remix.run Logo
nopurpose 4 days ago

So much written about relation between objects and data, but not a single mention of Lisp and derivatives?

mort96 4 days ago | parent | next [-]

An excellent opportunity for you to elaborate on the connection, since I'm not seeing it.

Timwi 4 days ago | parent [-]

Same. Lisp’s selling point is that “code is data” — not objects.

deterministic 3 days ago | parent [-]

All code is data. Many languages (Haskell for example) can directly manipulate code as data (macros). The unique thing about lisp is that the code is represented as a car/cons list. Other languages could do the same when writing macros. However most have chosen not to.

deterministic 3 days ago | parent | prev [-]

Lisp doesn’t have a monopoly on “data”. And most Lisps are not functional (setq/setf).

Closure is different of course. But not more functional than Haskell for example.