TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Clojure and the technology adoption curve

98 点作者 Ernestas超过 9 年前

6 条评论

nickbauman超过 9 年前
It is a myth that you have to be a genius programmer to pick up Lisp dialects like Clojure. I think it&#x27;s the opposite: the cognitive load of more complex languages that are &quot;easier to learn&quot; than Clojure (like Scala or even Java itself, for instance), a complexity I consider accidental and not essential to whatever problem you are solving, is more difficult.<p>The hard part of Clojure really boils down to one thing: <i>you do not have an assignment operator.</i> If you realize you must now program without that, how would you do that? Answering that question in concrete cases is your only real problem.<p>Other things, like the parens, well, you stop even noticing them after your first few hours. When you first start, just move the paren <i>one word to the left</i> from where you&#x27;re used to and you&#x27;re good to go. The syntax after that is so simple, you will find it liberating.
评论 #10541461 未加载
评论 #10539957 未加载
评论 #10540121 未加载
评论 #10540577 未加载
评论 #10541158 未加载
评论 #10540297 未加载
评论 #10541147 未加载
evgen超过 9 年前
Probably worth noting that a lot of the companies with an interest in Clojure cited as Early Majority are simply non-Clojure companies that picked up an Early Adopter startup as an acquisition and need to continue development and does not necessarily represent greenfield Clojure development at that company (I know this for a fact regarding one of the companies cited on the list, suspect the same for a few of the others.)<p>While Clojure foundered a bit after its start in the race to become Java.next I think that what has ended up saving it, or at least given it new life that it really needed, is a particular combination that is not even mentioned anywhere in the article: Clojurescript and React wrappers like Om and Reagent. I know more people considering Clojure(script) as a path to a combined web app and mobile app (via React-native) than I do people looking at Clojure to power the back-end.
评论 #10539757 未加载
评论 #10540125 未加载
mark_l_watson超过 9 年前
A long while ago I wrote a Java book [1] (my usual cookbook style) and decided to also support Scala and Clojure. It was so very much easier writing Clojure wrappers than Scala wrappers.<p>Java and Clojure mix very well in projects: set up a separate Java source path and let lein build everything.<p>[1] you can grab a free copy at <a href="http:&#x2F;&#x2F;markwatson.com&#x2F;opencontent_data&#x2F;book_java.pdf" rel="nofollow">http:&#x2F;&#x2F;markwatson.com&#x2F;opencontent_data&#x2F;book_java.pdf</a> - it is my Java Semantic Web book.
PaulHoule超过 9 年前
In my mind you are not leaving OO behind when you get into Clojure, but the big conceptual challenges revolve around doing things in an immutable way. It is obvious how to do some things and not to do others.
评论 #10539511 未加载
评论 #10539330 未加载
评论 #10540118 未加载
simula67超过 9 年前
I am having a lot of trouble trying to understand the hype behind functional programming. I have read McCarthy&#x27;s paper on LISP, completed Odersky&#x27;s course on Scala etc. No revelation so far ( yes, maybe I am stupid, but I won&#x27;t admit it ). Is it only useful for study as a model that inspired modern programming languages ? For example :<p>&quot;obvious power of code becoming data.&quot;<p>Many languages have eval() where data can be treated as code.
评论 #10539586 未加载
评论 #10539906 未加载
评论 #10539659 未加载
评论 #10539671 未加载
评论 #10541135 未加载
评论 #10539542 未加载
评论 #10540808 未加载
评论 #10539727 未加载
评论 #10541457 未加载
评论 #10542380 未加载
评论 #10539631 未加载
评论 #10541391 未加载
评论 #10541697 未加载
msluyter超过 9 年前
Let&#x27;s say I&#x27;m sold on Clojure (I am; I think it&#x27;s awesome) and I want to convince my boss to convert a crufty Java 7 enterprise app to a better alternative. What is the argument for Clojure compared to, say, Kotlin? How difficult is a complete conversion to Clojure compared to other JVM alternatives. My guess, in terms of ease of transition:<p><pre><code> Java 8 &gt; Kotlin &gt; Scala &gt; Clojure </code></pre> That&#x27;s just my impression, especially if you&#x27;re risk averse and want to make improvements as incrementally as possible. But I could be wrong. Anyone have a good counterexample?
评论 #10540618 未加载