News for hackers. Stuff that matters.
Re:React Server Side Rendering with GraalVM for Clojure by cljs-js-eval on Monday July 08, 2019 @05:56PM (#20387159)
Clojure has "reader conditionals" which enable you to write a single file and only have divergent code paths when you need to do something that is JVM or JS specific (or CLR-specific, if you're into that).

It's super helpful for shared libraries. A lot of our code can be shared between JVM servers, JS lambdas, or JS frontend code without much development effort. It's mostly just a matter of naming a file .cljc and you're off to the races.

Re:React Server Side Rendering with GraalVM for Clojure by pjmlp on Tuesday July 09, 2019 @12:53AM (#20389121)
Kotlin and Scala have it as well.