logoalt Hacker News

gus_massayesterday at 6:41 PM2 repliesview on HN

Homoiconicity makes writing macros easy.

If you don't like it, you can try https://rhombus-lang.org/ that is build on Racket and also has macros but uses a Python-like syntax.


Replies

Zambyteyesterday at 9:20 PM

Easy is an understatement. Macros and dynamic programming (often done using runtime reflection in other languages) are so trivially easy in Lisps that one can stumble into it without realizing they're even doing it. Anyone who has done these things in more "modern" languages knows these features are not something one can accidentally start doing. They take a lot of deliberate effort relative to standard, static programming.

show 1 reply
spdegabrielleyesterday at 10:51 PM

Bicameral, Not Homoiconic https://parentheticallyspeaking.org/articles/bicameral-not-h...

show 1 reply