ClojureScript Gets Async/Await
clojurescript.org - 81 poäng - 22 kommentarer - 15592 sekunder sedan
Kommentarer (7)
- midnight_eclair - 11764 sekunder sedanfun fact: clojurescript had support for asynchronous paradigm through core.async library (CSP style) long before async/await landed in javascript itself.
edit: i'm in no way trying to diminish the value of this release, just pointing out how cool it is that you can get new language features before they are available in the host language by just adding a library to your dependencies. clojure is awesome!
- timwis - 8350 sekunder sedanI wish an alternative to JS for the front end would catch on and be something more than obscure... I'd love to use something like clojurescript, but I struggle to imagine doing so for anything but a personal side project :/ Maybe this is easier to adopt if you're already a clojure shop for the backend?
- nbardy - 8111 sekunder sedanSeems like wrapping async await functions with CSP was a better way to handle this . Clojure already had a nicer pattern for this
- boczez - 5668 sekunder sedanMassive, cheers dude and congrats on the release. I’d say it’s such a good time to get into Clojure/Script but, well … it has been for a while!
- slifin - 6255 sekunder sedanThis is important for JavaScript interop without having to include additional libraries very cool and was missing for a long time
Congratulations on the release :-)
- rockyj - 6351 sekunder sedanNice! Now also get rid of the elephant in the room - "Google Closure Compiler" and then we can really celebrate.
- zerr - 11549 sekunder sedanFor the moment thought the article was about CoffeeScript... But it already supports async/await :)
Nördnytt! 🤓