|
|
|
|
|
by smabie
671 days ago
|
|
In my experience, it's just not that good? I programmed professionally in Lisp (Racket to be specific) for a couple years and while I was initially enthusiastic about it, my enthusiasm for it diminished over time. The heavy line noise in service of an easy to understand macro system just isn't worth it (moreover, a lot of languages have advanced macros these days without S-expressions). Looking back, I think I was so into Lisp because I just wanted to feel superior and better than the dirty Java or Python programmers? |
|
Just curious: what macro system were you using with Racket? There are, like, 3 big ways to build macros in Racket:
1. Macros by example with `syntax-rules`. This was taken from Scheme and is the original hygienic-by-construction system. Limited in power though.
2. `syntax-case`, which gives you full procedural macros but is a little unwieldy at times.
3. `syntax-parse`, the glorious, most powerful macro system of the three.
I know, it’s confusing.