5 ms·
What don't you like about Racket macros? AFAIK Racket has the most advanced macro hygiene system out of any of the other languages you mentioned - it guarantees
by jdormit 6y ago
What don't you like about Racket macros? AFAIK Racket has the most advanced macro hygiene system out of any of the other languages you mentioned - it guarantees that all macros are hygienic by default, as opposed to other Lisps which require you to manually call (gensym) or use special syntax in your macro to guarantee that macro symbols don't shadow existing bindings.
- iddiid 6y agoFrom (1) Fear of Macros ( this is from someone that mainly program in racket, not my personal opinion) But the moment I stepped past routine pattern-matching, I kind of fell off a cliff into a terminology soup. I marinaded myself in material, hoping it would eventually sink in after enough re-readings. I even found myself using trial and error, rather than having a clear mental model what was going on. Gah. (1) https://www.greghendershott.com/fear-of-macros/all.html https://www.greghendershott.com/fear-of-macros/all.html My personal opinion: I think racket is more an ivory tower for researcher, many for northwest university. “PLT” refers to the group that is the core of the Racket development team. PLT consists of numerous people distributed across several different universities in the USA. As I am getting older I should prefer some middle ground between racket and go. Hygienic macros are difficult to understand in this context, that is I don't want to buy the power of hygienic macros, it is over sold. Anyway, I admire Mattew Flatt efforts in compilation tecniques and the author of Beautiful Racket.
- klibertp 6y agoSo, what is it that you don't like about Racket macros? The quote doesn't explain it. Is it the fact that there are some concepts to learn before you can use them effectively? > that precludes hygienic macros. The fact that you are so fixated on hygiene as problematic, but can't really explain why you think it's like this, is a huge red herring.
- iddiid 6y agoThis is from you (1), it shows that you don't have any problem in managing your precious time: (1) To be honest, the whole thing took me nearly a year to finish (including writing this post). I could work on it only once in a while, and I hit a few roadblocks which took many sessions to work around. I mentioned it briefly before, but getting Io code to compile was one such roadblock
- klibertp 6y ago...wait, what? That post is about Io, not Racket. I honestly don't understand what is it you're trying to say?
- baldfat 6y agoThis is FAR from a research language. What multi-purpose language is a research first language? Racket is no Haskell.