Fork me on GitHub

i found the following sort of construct in someone's code and see that it works, but am curious whether it is "supported":

^#?(:clj {:flavor :clj} :cljs {:flavor :cljs}) [1 2 3]

Alex Miller (Clojure team)03:03:08

(or in other words, yes)


anybody feel like explaining to a PL dev why they love Clojure? A found post on HN:

👍 16

> I'm a Programming Language enthusiast, currently making my own language. I'm really curious what makes Clojure different - it's pretty much the most loved language among its proponents (i.e. people love e.g. Rust and Go as well, but not as much as those who love Clojure, love Clojure). Is there any very Clojure-y code you can point to, that would showcase it? Is it just the libraries - collections, concurrency primitives - that could be replicated in another language? It's can be just homoiconicity, as that's just Lisp, but it could definitely be a big part of it... Do you have any ideas what any other language (e.g. Python, TypeScript, Go, Rust, Julia, Haskell, OCaml) would need to change to make you as productive as Clojure?


I added a link to the 2020 Clojure survey results. Q12 has some of the answer of what features of the language people find most important to them.

Mario C.20:03:55

This might sound gnarly but to me, Clojure is to programming languages as time-lapse videos are to videos.


is that a compliment or not?

Mario C.20:03:20

Watching those time-lapse videos are very satisfying

✔️ 8
Mario C.20:03:46

Like working in the repl and seeing a function being constructed over time rapidly


ah. didn't know if timelapse meant "stop motion and jerky" or super charged

Mario C.20:03:58

super charged


Yeah, I have to agree. Even reading the source for the core functions is enlightening!