emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Clojure-like syntactic sugar for an anonymous function liter


From: Daniel Colascione
Subject: Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal
Date: Fri, 23 Jan 2015 04:02:18 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 01/23/2015 03:53 AM, Phillip Lord wrote:
>> This would be easy to implement, since this is just an extension of
>> the `backquote' and `short-lambda' method to 26 reader macros.
> 
> 
> That would work, but I don't think it's necessary -- if there is a
> compile time lookup, it's just as efficient. 

I've found that people who engage in handwringing about efficiency of a
system they don't understand produce terrible code. Try implementing it
before worrying about micro-optimizations.

You're over-thinking the semantics too. The whole point of Stefan's
proposal is that it's very simple, but still delivers most of the
benefits of unrestricted reader macro support. Qualifiers like "by
convention, identifiers would have to restricted..." is a step down the
road to adding overgrown Clojure ceremony for everything, something I
definitely do not want in Emacs Lisp.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]