The more I've thought about it, the more I've resigned myself to the fact that 
any? is the only rational choice. We have `some?`, `some`, `not-any?`, and 
`any?`. There's no resolving the asymmetry without breaking code, and it's 
undeniably true that `any?` reads nicely in the context of specs. I don't think 
I've seen a post mentioning `some?` yet, which surprised me a bit. "Fixing" the 
symmetry of all of this is more than a single name. It is a collection of names 
dating back to 1.0, IIRC. I don't disagree that it would be nice if we could go 
back in time, but generally I think "let it go" is good advice. As an aside, 
the dissonance is more or less consistent. It reminds me a little of 
https://en.m.wikipedia.org/wiki/Multistability.

Perhaps there'll be some liberties taken in 2.0?

Time will tell, but for now I'll echo Alex's suggestion to drop it. This 
particular ship sailed years ago, IMO.

'(Devin Walters)

> On Nov 7, 2016, at 10:23 PM, Mars0i <marsh...@logical.net> wrote:
> 
> 
>> Personally I think "any?" and "some?" are aptly named, and that it's the 
>> older "not-any?" and "some" functions that mess things up.
> 
> I can understand the intuition that "not-any?" and "some" are the oddballs, 
> but "Are there any Xs?" and "Are there some Xs?" are true in exactly the same 
> situations.  Or to remove the predicate, since that's what "some" and 
> "not-any?" use: "Is there anything in this thing?" and "Is there something in 
> this thing?" are true in the same situations.  So if some? is aptly named, 
> then any? is not.  (Maybe "anything?" or "something?" would have been better 
> names for some?.)
>  
>> Maybe if Clojure were being designed from scratch again, we'd have something 
>> like "has" and "not-has?", but it's too late to change common function names 
>> now.
> 
> Yeah--too late.
> 
> As well as some still uncommon ones.
> Like "any?".
> :-)
> -- 
> 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 unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to