News for hackers. Stuff that matters.
Re:Clojure's missing piece (2017) by lbj on Monday December 03, 2018 @04:15AM (#18587388)
Calling this the missing piece is no understatement. I'd love to see the design challenged by rhickey and integrated into core.
Re:Clojure's missing piece (2017) by nickik on Monday December 03, 2018 @04:22AM (#18587412)
Its has already been rejected from the core
Re:Clojure's missing piece (2017) by lbj on Monday December 03, 2018 @05:52AM (#18587818)
Ah, thanks for the heads up, I wasnt aware
Re:Clojure's missing piece (2017) by corporateguy6 on Monday December 03, 2018 @04:43AM (#18587514)
Mind elaborating as to why?
Re:Clojure's missing piece (2017) by cbcoutinho on Monday December 03, 2018 @05:22AM (#18587687)
Re:Clojure's missing piece (2017) by zackmorris on Monday December 03, 2018 @03:14PM (#18592468)
I've never used Clojure but am extremely interested in ClojureScript and Elixir (or some hybrid of the best of both) running under a JavaScript-like syntax so that developers can build from their existing contextual knowledge. So far the closest language that I've found is Skip:

https://news.ycombinator.com/item?id=18077612

My comments:

https://news.ycombinator.com/item?id=18080968

https://news.ycombinator.com/item?id=18086937

I'm not familiar with several of the functional programming terms brought up so far, but I think the gist of them is that all data structures need deterministic iteration.

So for example, I can understand how returning a copy of an immutable map might result in a new map whose values are in a different order than the original. But that isn't acceptable. Either the map's order is determined by aspects of its values (it's deterministic), or it's not. This might even need to be true for structures like sets that aren't thought of as having order.

This is a pretty serious situation for not just Clojure but a whole host of FP languages. Maybe this determinism is as important as immutability or process isolation. It certainly should rank higher than the need to minimize bloat. My vote is for Clojure to address it, even if it doesn't incorporate Specter.

Re:Clojure's missing piece (2017) by aasasd on Monday December 03, 2018 @06:12AM (#18587895)
I now have a minor buzz of curiosity about whether core hackers would complain about Specter returning different types for different arguments, which afaik directly opposes Clojure's idea of composition―where you always get same stuff as the result and recast it instead.