News for hackers. Stuff that matters.
Re:A History of Clojure [pdf] by gradys on Thursday June 04, 2020 @02:15PM (#23419892)
IMO, the ClojureScript SPA ecosystem is a stronger competitor in its domain than Clojure on the backend.

Re-frame in particular is a gem. It's as though someone tried the React/Redux stack, thought long and hard about actions and selectors, and realized that with one or two more pieces, everything falls into a beautiful, purely functional harmony.

Re:A History of Clojure [pdf] by peferron on Thursday June 04, 2020 @04:29PM (#23421382)
I have the exact opposite opinion!

Clojure on the backend is awesome because you can use mature, stable, pure Clojure libraries for almost everything and it works together beautifully.

ClojureScript on the other hand suffers from constantly having to interop with JS libs and tools, or trying to wrap them, with many wrappers being outdated or having a bus factor of 1.

I feel like the advantages of CLJS have eroded over the past few years:

- TypeScript has fully taken over, generalizing the advantages of static typing

- JS libraries have adopted functional patterns, narrowing the comparative advantage of CLJS

- Tools like create-react-app have emerged to simplify project configuration, while CLJS is still figuring things out: https://clojurescript.org/news/2020-04-24-bundle-target

Re:A History of Clojure [pdf] by rhlsthrm on Friday June 05, 2020 @03:39AM (#23425998)
Which JS libraries do you think have best adopted functional patterns?