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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Introduction to the Java Ecosystem for Someone Wanting to Learn Clojure?

10 点作者 jacobu9超过 11 年前
I&#x27;ve never been been particularly interested in Java, but I&#x27;ve found a recent interest in Clojure. The problem is that, despite being a separate language, Clojure - along with its documentation, tutorials, and general usage - is heavily tied to the Java ecosystem.<p>As someone with a strong background in and working knowledge of C, C++, Python, C#, and other imperative languages, I have little interest in learning Java as a language, but feel somewhat lost when dealing with the baggage that comes with a language built on the JVM.<p>Is there a good tutorial or resource out there that outlines the basics of the Java ecosystem (e.g. JRE implementations, tooling, a basic outline of .java&#x2F;.class&#x2F;.jar&#x2F;etc files, a very general outline of the Java standard library, etc), but does not try to teach Java as a language, or at least only introduces the very minimal set of constructs of the language necessary to understand the ecosystem?<p>Given the long history of Java, I feel it would be hard enough to find a reasonably up-to-date guide on Google, and even more difficult to find a guide for an experienced programmer looking for just a cursory glance. Any suggestions?

2 条评论

iSkynet超过 11 年前
Leiningen does dependency management and builds, etc., for Clojure work. <a href="http://leiningen.org" rel="nofollow">http:&#x2F;&#x2F;leiningen.org</a> Note the sample project on that page.<p><a href="http://clojure.org/cheatsheet" rel="nofollow">http:&#x2F;&#x2F;clojure.org&#x2F;cheatsheet</a> is made of useful also<p>The community won&#x27;t bite, ask when you&#x27;re stuck.<p>Use the Oracle jre, or your package manager&#x27;s default (linux).<p>There&#x27;s this stuff if you need it. <a href="http://docs.oracle.com/javase/tutorial/essential/environment/index.html" rel="nofollow">http:&#x2F;&#x2F;docs.oracle.com&#x2F;javase&#x2F;tutorial&#x2F;essential&#x2F;environment...</a><p>Good luck!
FurrBall超过 11 年前
I&#x27;d suggest skipping Clojure altogether. The JVM cannot support tail call optimizations. Use of recursion will be muffled a bit. Not very lispy.<p>Newer is not always better. Try racket or common lisp.
评论 #6712458 未加载