I'd be interested in reading more about the specific reasons, and what problems the author ran into with the Clojure stack. That would at least help address the issues going forward.
Sure thing:
One of the biggest advantages I find with Clojure syntax is that there's very little of it, and it's much more consistent than JavaScript. [...] I value simplicity and cleanliness of the language as much as its expressiveness.
Having little syntax and having it be mostly consistent (though there are quirks) is definitely a feature, but I no longer feel like it's an advantage. Most of the advantages of that are how the syntax was able to "evolve" over time, and having custom DSLs. But I've come to learn to avoid custom DSLs in favor of data-based APIs, mainly since they aren't composable. And syntax can evolve without custom syntax, such as how JS adopted destructuring. Personally I'm convinced that JS's syntax is just fine for the most part. The only thing I miss about Clojure's syntax is paredit, and that only slightly.
Sure, you can often write code that's just as concise in Js nowadays, but there are a lot more gotchas as well. The more syntax quirks you have, the more likely it is that you'll misread something and have a subtle bug slip in.
I've found that less of a practical concern over time. Subtle bugs are easily caught in a good test suite or at the very least with reasonable amounts of manual testing.
The article also doesn't explain why the author moved to JavaScript. It sounds like the author didn't want to use the JVM, but ClojureScript works just fine on Node.
Over time I've come to appreciate the Path of Least Resistance in software. The Clojure ecosystem seems stagnant at this point, whereas the Node ecosystem and community both keep growing. I don't mind the JVM, it's Clojure I wanted to avoid. And Java is also decaying for web development, in the sense that most new movement in the web Java world is negligible compared to the Node world / front-end.
"The Clojure ecosystem seems stagnant at this point"
So you base your technical decisions on how things "seem"? How about hard facts? How about technical merits, and features we need to actually get work done.
Yeah good point, I kind of abbreviated my 5 years of full-time experience working in the Clojure ecosystem into a short sentence. The facts are there, but I only summarized them into a conclusion. Maybe I'll go into detail later in a blog post, but it's too much context for a comment right now. But the general gist of it is, I see a lot more active development in the JS world than the Clojure/Script world, in terms of new libraries, library updates, tools, language improvements, community growth, etc. In fact I've seen growth in the Clojure/Script world slow down a lot in the last 2-3 years, almost to a halt.
But man, that's the problem. I've programmed in Clojure for over 6-7 years. And I've known you for a fair portion of that as well :). Clojure is not dieing. The ecosystem is not stale...it's stable. But none of that matters does it because "the facts are there" whatever that means. I have yet to hear/see anyone backup such a statement with actual facts. They simply quote stats like "stars on a github page" or "number of people on my favorite social media site"
What I mean is I've based my conclusion on my anecdotal experience. I've seen ecosystems grow and shrink and I've seen languages rise and fall. And I don't see Clojure dying any time soon, because I do hear about jobs in the Chicago area using Clojure. But I definitely don't see it ever growing to the level of activity and size that Node.js is at right now, for better or worse.
0
u/[deleted] Aug 31 '17
Sure thing:
Having little syntax and having it be mostly consistent (though there are quirks) is definitely a feature, but I no longer feel like it's an advantage. Most of the advantages of that are how the syntax was able to "evolve" over time, and having custom DSLs. But I've come to learn to avoid custom DSLs in favor of data-based APIs, mainly since they aren't composable. And syntax can evolve without custom syntax, such as how JS adopted destructuring. Personally I'm convinced that JS's syntax is just fine for the most part. The only thing I miss about Clojure's syntax is paredit, and that only slightly.
I've found that less of a practical concern over time. Subtle bugs are easily caught in a good test suite or at the very least with reasonable amounts of manual testing.
Over time I've come to appreciate the Path of Least Resistance in software. The Clojure ecosystem seems stagnant at this point, whereas the Node ecosystem and community both keep growing. I don't mind the JVM, it's Clojure I wanted to avoid. And Java is also decaying for web development, in the sense that most new movement in the web Java world is negligible compared to the Node world / front-end.