Hacker News new | ask | show | jobs
by Ambroisie 1651 days ago
I'm surprised the `gensym` machinery is so "naive" as in it could actually be possible to craft a symbol that can refer to a `gensym`ed symbol.

I am not very familiar with other languages that implement (un)hygienic macros, is that a common problem in things like Scheme, Lisp, or even Rust, or do they all circumvent that issue with actually private/un-nameable symbols?

1 comments

The sum total of people who have or ever will come to grief because of this design is zero, surely?
Right, avoid using symbols that look like gensym stuff. It would be pretty silly to do something like that. If I saw someone using "G__1234" then that would be a pretty big eyebrow raiser.