On Nov 20, 7:38 am, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 20 Nov., 13:30, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
> > Yes. Please use auto-gensyms (name#):
>
> > `(let [frame# ~frame]
> >    (.setTitle frame# ~title)
> >    (.setVisible frame#)
> >    frame#)
>
> With this specific example, my intention was to show, how
> using a macro where a function would do actually causes
> a lot of trouble, like multiple evaluation, variable capture,
> etc.
>
> > ~' should be used for intentional capture only, i.e. rarely.
>
> I think this was clearly stated in the wiki: only in rare cases,
> well-defined situations and well documented.
>
> > That section of the Wiki should be re-worked, IMO.
>
> Yes. It is rather chaotic and not very clear over long
> passages. I will tackle this as soon as I find out, who
> has to approve my changes to the wiki....
>

I didn't see any issues with wiki editing, ar eyou still having a
problem?

As far as the section goes, the problem is people will grab code
without reading the text carefully. Given its tutorial nature, I think
it's best for the Wiki to show examples of the right way to do things
rather than the wrong way.

Rich

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to