Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A few people exist who are genuinely able to use Racket macros, but they all have a PhD in CS.

As opposed to the larger group who think they understand them. I was once in that group, but now I've just given up.



Racket's macro transformers are about as easy as hygenic macros[0] get unfortunately, I can occasionally manage to make a er-macro-transformer based macro in chicken work how I want.

defmacro was a lot easier, but I understand the aversion to it, even if it was rare that it was/is a problem.

[0] syntax-rules based macros are cake, naturally, but they're also incredibly limited, although I have seen people implement massive complex OO systems using a sort of ad-hoc state machine built in pages upon pages of syntax-rules rules.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: