[Openmcl-devel] Poll: what do you think of binding-block?

Kevin Reid kpreid at mac.com
Sat Feb 9 18:08:55 PST 2008


On Feb 9, 2008, at 20:34, Ron Garret wrote:

> In the context of a debate over Paul Graham's new Arc language I  
> wrote a macro called binding-block or BB for short.  The intent of  
> the macro was to illustrate how the relentless pursuit of brevity  
> would lead to some really perverse looking code.  But now,  
> ironically, I've actually found binding-block kind of growing on  
> me.  It's basically a keyword-based replacement for a bunch of  
> binding constructs (LET, MULTIPLE-VALUE-BIND, DESTRUCTURING-BIND,  
> and most WITH-XXX forms) kinda-sorta like LOOP is a keyword-based  
> replacement for DO, DOTIMES, MAP, etc.


Previous inventions of this idea:

http://www.cliki.net/bind
http://www.cliki.net/WITH%20macro

> The reason I ask is that I'm getting some code ready to release,  
> and I'm wondering if I should use BB in it or not.

I'd say use one of the existing versions.

-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>





More information about the Openmcl-devel mailing list