News for hackers. Stuff that matters.
Re:A History of Clojure [pdf] by ashtonkem on Friday June 05, 2020 @12:15PM (#23430187)
Set as in the collection. Sets are idiomatic, they even have syntax sugar for their construction: #{}.

Seq is extremely leaky, as whether or not a built in function takes a seq or a specific collection is undocumented and arbitrary. Hashmaps for example do not accept seqs when using “into”, it accepts vectors. So my code was littered with (into {} (map vec <thing>)). That’s a leaky abstraction.

You need to hint protocols if you want to go fast.

There are no comments on this comment yet.