HN2new | past | comments | ask | show | jobs | submitlogin

The impression I got is the core syntax is all there, you just don't get access to the jvm libraries anymore.


All of the core syntax is not currently there, but you're right that ClojureScript only interops with js and not Java. For a more detailed differences list see https://github.com/clojure/clojurescript/wiki/Differences-fr...


Bear in mind that the wording is very careful. We took great pains to say things like "not currently implemented." ;-)


"ClojureScript does not currently support regular expression literals using #"" "

This one seems like a big deal, given how often I find myself using regexes in clojure. Is it on its way and is there a workaround currently?


I'm sure you can use the native RegExp class:

    (def pat (RegExp. "Some(.+)"))



No STM, that'll be interesting.

Ack no transients either! I know it's early but not gonna lie that one makes me sad. I love being able to write stupid fast list/map builder functions that bash inline but then return something nice and immutable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: