I came across this discussion:
https://groups.google.com/forum/#!topic/clojure-dev/ewBuyloeiFs/discussion
Has this patch been considered for merging in Clojure master?
If yes, awesome! We should update / comment-on articles pointing this out.
If not, why?
I came across this discussion:
https://groups.google.com/forum/#!topic/clojure-dev/ewBuyloeiFs/discussion
Has this patch been considered for merging in Clojure master?
If yes, awesome! We should update / comment-on articles pointing this out.
If not, why?
No, this didn't move forward. I don't think it was ever actually filed in the jira system?
There are lots of ways to avoid this problem (into, transducers, etc) and in practice I think most people don't find it to be an actual issue.
I have not looked closely at the proposed solution, but beyond the basic "does it work" question, there are also a lot of questions about performance, etc that would be need to be evaluated.
I think correctness > performance, at least in a core function that's so widely used
I don’t want to speak for Alex or any of the Clojure/core folks but…
The general position taken in Clojure so far could be more accurately categorized as Garbage-In-Garbage-Out, in favor of performance. In other words, Clojure functions are usually designed for performance on correct data and in correct usage situations – and just fail or do something odd/unpleasant when used on the wrong data or in the wrong situation.
The solution to “it blows up when I do X” is “don’t do X” rather than making X slower for everyone, in order to make X deal “better” with cases it wasn’t designed for. It’s why, for example, many things simply blow up with a ClassCastException rather than adding conditional checks – and slowing everyone down – just to produce a “better” error message.
Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.