4 ms·
> I certainly consider Julia to be a Lisp Can you elaborate some more on this? My worldview assumed that a lisp used a list as a primary code/data structure an
by msravi 3y ago
> I certainly consider Julia to be a Lisp
Can you elaborate some more on this? My worldview assumed that a lisp used a list as a primary code/data structure and Julia doesn't seem to be doing that... Of course it does provide a way to manipulate code and data because of its macros. But what makes a lisp a lisp?
- martinsmit 3y agoHere's a meme that might help: https://www.reddit.com/r/LispMemes/comments/irkm5m/nobody_likes_semantical_chaotic/ https://www.reddit.com/r/LispMemes/comments/irkm5m/nobody_li...
- suavesito 3y agoI think the commenter refers to the fact that in Julia, code is data, even if it is not represented as lists. This allows the existence of macros, which are syntactic sugar to functions modifying code. Also that most (all?) lisps have multiple dispatch as a fundamental part of the language, and Julia does too.
- KingMob 3y agoEvery time this pops up, I feel compelled to point out how different Julia macros look like from regular Julia code, especially once the macros get complicated. "Code as data" is not quite the same thing as homoiconicity, which I feel is Julia's missing piece.