News for hackers. Stuff that matters.
Re:Clojure will affect the way you think about programming by jrs95 on Friday August 04, 2017 @09:46AM (#14928582)
I just saw an article recently about core.async and the "go" macro, which seems to effectively give you goroutines in Clojure. I'd be very tempted to use it for that reason alone. I love Go's concurrency, but it can be a little on the verbose side. Good for some projects, but not all of them.
Re:Clojure will affect the way you think about programming by abhirag on Friday August 04, 2017 @10:16AM (#14928806)
If you are curious about core.async and want to learn more you can have a look at the post I wrote on it-- [http://abhirag.in/articles/batman_clojure.html]. I wrote it while trying to learn it myself so not the most advanced resource but I hope somebody finds it helpful :) Note -- The page is kinda resource intensive because it contains a running clojurescript interpreter for interactive code snippets.
Re:Clojure will affect the way you think about programming by binora on Friday August 04, 2017 @11:17AM (#14929313)
thanks for this. btw, your blog is great as well
Re:Clojure will affect the way you think about programming by abhirag on Friday August 04, 2017 @11:39AM (#14929489)
Glad you liked it :)
Re:Clojure will affect the way you think about programming by eliben on Friday August 04, 2017 @09:54AM (#14928638)
Go is verbose? I'm surprised to hear that, to be honest. Can you say what it's verbose in comparison to? What production language/framework has terser concurrency with the same expressiveness?
Re:Clojure will affect the way you think about programming by robto on Friday August 04, 2017 @09:59AM (#14928680)
Clojure for one! But I thought it was a common complaint that Go's lack of support for generics and other language design decisions aimed at keeping things easy make it much more verbose.

That's just a non-user's perspective on the scuttlebutt, though - I don't have any actual experience with Go.

Re:Clojure will affect the way you think about programming by lgas on Friday August 04, 2017 @02:34PM (#14930842)
Haskell would be an example of a language that is terser and more expressive with comparable concurrency primitives.
Re:Clojure will affect the way you think about programming by jrs95 on Friday August 04, 2017 @10:04AM (#14928723)
I didn't mean the concurrency, just the language in general. And verbosity isn't always a bad thing. I can dive into pretty much any Go codebase and get a good idea of how it works pretty quickly, and that's been a pretty unique experience for me.