> You know, just because you wrote a macro that you love and it works
> for you, doesn't mean it should get into clojure.core :)

I agree 100%, which is why I've explained the reasons for the suggestion.

I did not simply say "OMG I made this awesome macro now include it!"

I gave explicit reasons on *why* it should be included and defended them 
rationally. The responses I've received so far in opposition have been devoid 
of any real substance other than, "I don't want to."

The -> and ->> macros are like the 'first' and 'last' functions.

It would be silly to have a Clojure with only 'first' and 'last' functions, and 
without an 'nth' function.

The --> macro is the 'nth' equivalent.

It is a generalized version of the -> and ->> macros, able to handle situations 
they can't, and it happens to also have the added benefit of more readable code.

Therefore I think it should be in the core.

- Greg


On Jul 6, 2010, at 4:04 PM, Wilson MacGyver wrote:

> On Tue, Jul 6, 2010 at 2:36 PM, Greg <g...@kinostudios.com> wrote:
>> On Jul 6, 2010, at 2:26 PM, Wilson MacGyver wrote:
>> 
>>> On Tue, Jul 6, 2010 at 2:01 PM, Stuart Halloway
>>> <stuart.hallo...@gmail.com> wrote:
>>>> In my experience, unneeded versatility == support headache.
>>> 
>>> I couldn't agree more. I'm happy to see selection of what goes into
>>> core and contrib has become more selective.
>> 
>> 
>> Yes, let's handicap ourselves and then disparage a useful macro as 
>> "unneeded."
>> 
>> The -> and ->> macros aren't needed either, so why are they there?
>> 
>> While we're at it, we should make it so that the + function takes only two 
>> arguments because any more leads to "unneeded versatility" and therefore, 
>> apparently, to "support headache." :-p
> 
> You know, just because you wrote a macro that you love and it works
> for you, doesn't
> mean it should get into clojure.core :)
> 
> -- 
> Omnem crede diem tibi diluxisse supremum.
> 
> -- 
> 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

-- 
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