On Sun, Sep 18, 2011 at 6:38 AM, Stuart Halloway
<[email protected]>wrote:

> Alan covered the biggest problem succinctly: it pollutes the language core
> to provide convenience APIs that are combinatorial in nature.
>
>
I don't understand your comment about "polluting" the language core.  Do you
really think people are going to use def- for some other purpose?  If you
don't, then it is not pollution.

I think the big issue here is that certain functions in Clojure core *imply*
the existence of other certain functions in the core.  When they don't
exist, it comes as a surprise.  Surprise is bad.

defn- implies the existence of def-

The other example that immediately leaps to mind is that the family of
get-in, get, and update-in implies the existence of update.  It is rather
startling to me that update does not exist in the core.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
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