Arc Forumnew | comments | leaders | submitlogin
3 points by viergroupie 6115 days ago | link | parent

I don't totally understand your aversion to hygiene. You've probably explained it a few times already, can you post a link?


5 points by pg 6114 days ago | link

What defmacro does is so simple and elegant. A macro is just a function than returns an expression. I wouldn't want to discard that simplicity in return for a solution to something I know from many years' experience is a non-problem.

-----

4 points by kennytilton 6113 days ago | link

Perhaps the pro-hygiene crowd needs to step up and tell us unhygienic types how long they have programmed with unhygienic macros and how often they have run afoul of variable capture. I am reminded of static/dynamic debates in which the pro-static crowd wants it to be taken as a given that it is better to have type errors detected at compile time. There is a prima facie compellingness to such assertions that may not pan out in practice, and at bottom the pro-safety crowd might just be imposing their (sorry) timidity on those of us who prefer to climb unroped in return for getting up the peak faster, which itself does more for safety when the climber is capable. uhoh, here comes my Reinhold Messner analogy....

-----

1 point by andreuri2000 6111 days ago | link

I regard it more as a lexical binding/dynamic binding debate. DEFMACRO or MAC are like dynamic binding, because the meaning of a macro can be affected by local variable bindings surrounding its site of use, contrary to the intended meaning of the macro writer at the definition site.

-----

1 point by Xichekolas 6114 days ago | link

Well frankly toothpaste tastes bad and soap chafes his skin. PG likes to keep in natural... an earthy scent if you will.

... oh, you meant hygiene as in hygienic macros... uh...

-----