News for hackers. Stuff that matters.
Re:A History of Clojure [pdf] by onetom on Friday June 05, 2020 @09:30AM (#23428256)
This sounds fishy to me too... Have you actually consulted anyone, with more Clojure experience, how to avoid the need for `(map vec <thing>)` all over the place? I would guess you were working with deeply nested data structures and you had to do deep updates, while strictly maintaining the vector data-type. That's indeed kinda sucky to do just using vanilla `clojure.core`, indeed, but then there is https://github.com/redplanetlabs/specter for that. Alternatively, instead of dealing with deep nesting, you should probably work with namespaced keys, which allow flattening your data and suddenly a lot of transformations become radically simpler and such a system is more extensible too...
Re:A History of Clojure [pdf] by ashtonkem on Friday June 05, 2020 @12:57PM (#23430693)
Your attitude is extremely patronizing.