On Mon, Mar 26, 2012 at 5:29 AM, Ambrose Bonnaire-Sergeant
<abonnaireserge...@gmail.com> wrote:
> I will continue the debate with more class.

Thank you.

>>> Isn't this just another way of saying "humans will have to read to the
>>> end to see what the form is?"
>
> No, this is a way of saying the {{}} proposal is very unlikely to succeed
> for reasons that include violating established, well thought out,
> conventions.

Conventions whose goal is said readability.

>> I provided a response to that objection already.
>
> You addressed the merits of using syntax that complects human recognition
> with reading entire forms, but did not address the merits of breaking an
> important syntax convention.

Since your own earlier post indicated that the convention exists to
make it easier for humans to recognize what forms they're dealing
with, addressing that directly obviates any issue with the convention.
Unless you're now claiming the convention has additional goals beyond
that one.

>> Of course, this suggests an alternative, too:
>> <{set items go here}>
>
> <{}> is a breaking change.

No, it's not. Not really.

> Consider (comp <{:a :b}>).

Anyone in their right mind would write that as (comp < {:a :b} >). Or
rather, they wouldn't, since > returns true or false, {:a :b} turns
that into nil, and < then throws an exception. But they might write
(comp < {false 0 true 1} >). :)

> Both left and right sides now use 2 tokens, afaik no other syntax needs
> this.

So?

> White space issues, as outlined in your proposal

Not if white space is used per existing convention.

> Consider (:refer-clojure :exclude [< >]) and redefining them in the module.

Should be rare, and again, spaces would be normal between < and { and
between } and > right now.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to