学习 Clojure - 我应该了解 Java 等方面的知识 [英] Learning Clojure - What should I know about Java and more

查看:17
本文介绍了学习 Clojure - 我应该了解 Java 等方面的知识的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始学习 Clojure,我的主要编程语言是 Ruby,我没有任何 Java 经验.

I have started learning Clojure recently, my main programming language is Ruby and I have no Java experience whatsoever.

在使用 Clojure 时必须了解哪些 Java 标准类?

Which Java standard classes are a must to know when working with Clojure?

显然 Clojure 并没有为所有东西和很多功能提供包装器由 Java 的库提供.

Obviously Clojure doesn't come with a wrapper for everything and a lot of functionality is provided by Java's libraries.

javadocs 上有无数个 - 我应该探索哪些?

There's like a gazillion of them on javadocs - which ones should I explore?

我在哪里寻找以及如何安装第三方库(clojure 和 java 库)?

Where do I look for and how do I install third party libraries (clojure and java ones)?

在 Ruby 中,我会访问 Rubyforge 或 Rubytoolbox、git 等,然后只需 gem install 我发现有趣的包.

In Ruby I'd visit Rubyforge or Rubytoolbox, git etc. and then just gem install the package I found interesting.

您会推荐哪个 Clojure 编辑器/ide(学习曲线最低)?

Which editor/ide for Clojure would you recommend (with the lowest learning curve)?

我正在尝试将 Netbeans 与 Enclojure 一起使用,但矛盾的是,这是我迄今为止最大的障碍:

I am trying to use Netbeans with Enclojure and paradoxally it's my biggest obstacle so far:

每个生成的项目都有一些xml文件,文件夹,库依赖等,我不知道目的.

Each generated project has some xml files, folders, library dependencies etc. the purpose of I have no clue.

我正在做一些 labrepl 练习,想在一个新项目中单独试用一些捆绑的库,但是这个简单任务我无法完成:/

I am doing some labrepl exercises and wanted to try out some of the bundled libraries separately in a new project, but this simple task I cannot accomplish :/

如何分发clojure程序?

How to distribute clojure programs?

这与上面的问题非常相关.

This is pretty much related with the question above.

是否有包含新闻、代码提示等的 clojure 社区驱动的博客?

Are there any clojure community driven blogs with news, code tips etc?

推荐答案

探索 javadocs 仅在您不知道如何使用 Clojure 的核心 API 来做某事时才需要使用a> 或 Clojure contrib 库.

Explore the javadocs only as needed when you can't figure out how to do something using Clojure's core API or the Clojure contrib libraries.

对于 3rd 方库,有 Clojars.我不确定它被社区采用的范围有多大,但这是一个很好的起点.许多 Clo​​jure 项目都托管在 github 上,因此您可以尝试在那里搜索 clojure.

For 3rd party libraries, there is Clojars. I'm not sure how widely it has been adopted by the community, but it's a good place to start. Many Clojure projects are hosted on github, so you can try searching for clojure there.

如果您已经了解 Emacs,那么 Emacs 对编辑 Clojure 有很好的支持.如果您不了解 Emacs,请不要尝试同时学习 Emacs 和 Clojure.查看 Clojure wiki 上的入门页面,了解有关开始使用不同 IDE 的数量.不幸的是,Clojure 主页上的 wiki 链接是错误的.

If you already know Emacs, there is good support for editing Clojure in Emacs. If you don't know Emacs, don't try to learn Emacs and Clojure at the same time. Check out the getting started page on the Clojure wiki for infomation on getting going with a number of different IDE's. Unfortunately, the wiki link on the Clojure homepage is wrong.

最后,请查看 Planet Clojure 以获取大量关于将 Clojure 用于各种不同事情,包括有关入门的有用帖子.

Finally, check out Planet Clojure for lots of good blog posts about using Clojure for a wide variety of different things, including helpful posts on getting started.

这篇关于学习 Clojure - 我应该了解 Java 等方面的知识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆