健忘症患者的“第一”功能语言?(我真的很喜欢Clojure…)

时间:2022-11-03 22:47:26

I was recently diagnosed with a cascading dissociative disorder that causes retrograde amnesia in addition to an existing case of possible anterograde amnesia. Many people have tried to remind me of how great a programmer I was before -- Right now I get the concepts and the idioms, but I want to teach myself whether I know or not. I think I can overcome the amnesia problems in part with it.

我最近被诊断出一种级联的分裂性障碍,它会导致逆行性遗忘,除了可能发生的顺行性失忆。很多人都想提醒我,我以前是一个多么优秀的程序员——现在我已经掌握了一些概念和习惯用法,但不管我知道与否,我都想自学。我想我能克服健忘症的部分原因。

My question for you, *, is this: I recently found Clojure and it... it feels good to use, even in just copying down the examples from whatever webpage I can find. My goals in learning a functional programming language are to create a simple webserver, an irc AI bot of some variety, and a couchdb-like database system, all of which lightweight and specifically for education. What flaws does Clojure have? Is there a better functional programming language to use right now for education /and/ application?

我的问题,*,是这样的:我最近发现了Clojure,它……使用它感觉很好,即使只是从我能找到的任何网页上复制例子。我学习函数式编程语言的目标是创建一个简单的webserver、一个各种各样的irc AI机器人和一个类似于couchdb的数据库系统,所有这些都是轻量级的,专门用于教育。Clojure有什么缺点?现在有更好的函数式编程语言可以用于教育/和/应用吗?

5 个解决方案

#1


8  

I think Clojure is a very nice language. If I should point to any defect it is that it's very new, and even though the language seems very mature and production ready, the tools and frameworks around it aren't. So if you are going to make, for instance, a web-app, don't expect to fire three commands and have a "Your first web app is running, now read this documentation to create your models"-page on your browser.

我认为Clojure是一种很好的语言。如果我要指出任何缺陷,那就是它是非常新的,而且即使语言看起来非常成熟,并且已经准备好了生产,围绕它的工具和框架也不是。因此,如果你打算制作一个web应用程序,不要期望发出三个命令,并让“你的第一个web应用程序正在运行,现在阅读这个文档,在你的浏览器上创建你的模型”页面。

There aren't that many libraries written in Clojure yet either, but that's not a huge problem if you consider that you can use almost anything written in Java.

也没有多少库是用Clojure编写的,但是如果您认为可以使用几乎所有用Java编写的库,那么这并不是一个大问题。

#2


7  

Haskell currently has a large following and a growing base of libraries and applications. It's also used for education and research. I find it a very nice language to use.

Haskell目前拥有大量的追随者,以及越来越多的库和应用程序基础。它也被用于教育和研究。我发现这是一种很好的语言。

#3


6  

Haskell, Erlang and Clojure are all good choices. I would personally recommend Clojure, you might be able to do some interesting database stuff with the Software Transational Memory system that is part of Clojure.

Haskell, Erlang和Clojure都是不错的选择。我个人推荐Clojure,您可以使用Clojure的软件跨国界内存系统做一些有趣的数据库工作。

#4


2  

You list CouchDB in your question, and it's written in Erlang, which is meant to be a pretty engrossing language once you get into it.

在你的问题中,你列出了CouchDB,它写在Erlang中,当你进入它的时候,它是一种非常引人入胜的语言。

#5


1  

I have no personal experience with Clojure, but i really recommend F#. It's quite a powerful language in the style of OCaml. I really like it because it's debugging tools and IDE are second to none, and you can take advantage of practically every library on the (huge) .NET platform.

我没有使用Clojure的个人经验,但我真的推荐f#。这是一种非常强大的OCaml语言。我非常喜欢它,因为它是调试工具,IDE是首屈一指的,而且你可以利用(巨大的)。net平台上的几乎所有库。

#1


8  

I think Clojure is a very nice language. If I should point to any defect it is that it's very new, and even though the language seems very mature and production ready, the tools and frameworks around it aren't. So if you are going to make, for instance, a web-app, don't expect to fire three commands and have a "Your first web app is running, now read this documentation to create your models"-page on your browser.

我认为Clojure是一种很好的语言。如果我要指出任何缺陷,那就是它是非常新的,而且即使语言看起来非常成熟,并且已经准备好了生产,围绕它的工具和框架也不是。因此,如果你打算制作一个web应用程序,不要期望发出三个命令,并让“你的第一个web应用程序正在运行,现在阅读这个文档,在你的浏览器上创建你的模型”页面。

There aren't that many libraries written in Clojure yet either, but that's not a huge problem if you consider that you can use almost anything written in Java.

也没有多少库是用Clojure编写的,但是如果您认为可以使用几乎所有用Java编写的库,那么这并不是一个大问题。

#2


7  

Haskell currently has a large following and a growing base of libraries and applications. It's also used for education and research. I find it a very nice language to use.

Haskell目前拥有大量的追随者,以及越来越多的库和应用程序基础。它也被用于教育和研究。我发现这是一种很好的语言。

#3


6  

Haskell, Erlang and Clojure are all good choices. I would personally recommend Clojure, you might be able to do some interesting database stuff with the Software Transational Memory system that is part of Clojure.

Haskell, Erlang和Clojure都是不错的选择。我个人推荐Clojure,您可以使用Clojure的软件跨国界内存系统做一些有趣的数据库工作。

#4


2  

You list CouchDB in your question, and it's written in Erlang, which is meant to be a pretty engrossing language once you get into it.

在你的问题中,你列出了CouchDB,它写在Erlang中,当你进入它的时候,它是一种非常引人入胜的语言。

#5


1  

I have no personal experience with Clojure, but i really recommend F#. It's quite a powerful language in the style of OCaml. I really like it because it's debugging tools and IDE are second to none, and you can take advantage of practically every library on the (huge) .NET platform.

我没有使用Clojure的个人经验,但我真的推荐f#。这是一种非常强大的OCaml语言。我非常喜欢它,因为它是调试工具,IDE是首屈一指的,而且你可以利用(巨大的)。net平台上的几乎所有库。