是什么让(开放)Dylan 与其他编程语言不同?

发布于 2024-12-20 18:33:43 字数 384 浏览 3 评论 0原文

如今有很多编程语言:函数式、面向对象、动态或静态类型,或者这些特性的混合。

最近我注意到这个版本: http://opendylan.org/news/2011/12 /10/new_release.html

打开迪伦。

如果已经有 Clojure、Python、Java、Scala、C#、Common Lisp、Scheme 以及可以说更大、更活跃的社区和更多围绕它们的库,为什么人们会对学习这种编程语言感兴趣呢?

我希望这篇文章不会因为“太主观”而被关闭,我只是对 Dylan 与所有其他编程语言的不同之处感兴趣!

Nowadays there are so many programming languages out there: functional, object oriented, dynamically or statically typed, or mixes of these characteristics.

Recently I noticed this release: http://opendylan.org/news/2011/12/10/new_release.html

Open Dylan.

Why would it be interesting for people to learn this programming language, if there is already Clojure, Python, Java, Scala, C#, Common Lisp, Scheme with arguably larger, more vital communities and more libraries surrounding them?

I hope this post will not be closed as being "too subjective", I'm just interested in what makes Dylan distinct from all these other programming languages!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

无所的.畏惧 2024-12-27 18:33:43

这里有几个问题合二为一。

迪伦是什么?请阅读其维基百科页面,这是一个好的开始。 Dylan 的独特之处在于它是一个 Lisp,但没有 Lispy 语法。当迪伦第一次被定义时,这对一些人很有吸引力。此外,Dylan 在没有 Lisp 语法的情况下实现了一个相当实用的宏系统(这可以说是 Lisp 最强大的优点之一)。

为什么迪伦今天很有趣?嗯,它只是另一种编程语言,而且是一种相当古老的语言。它是在 90 年代初设计的,因此存在许多更新的语言。但如果有人喜欢去掉语法的 Lisp 方式,Dylan 可能是首选。

您对迪伦的什么感兴趣??这是一个主观问题,很大程度上取决于您。你的兴趣是什么?您的目标是什么?您当前正在使用哪些工具,您对它们不满意吗?

There are several-questions-in-one here.

What is Dylan? Do read its Wikipedia page, it's a good start. The uniqueness of Dylan is that it's a Lisp, without the Lispy syntax. This was appealing to some people when Dylan was first defined. Moreover, Dylan has achieved a pretty functional macro system (which is arguably one of the strongest pros of Lisp) without the Lisp syntax.

Why is Dylan interesting today? Well, it's just another programming language, and a pretty old one at that. It was designed back in the early 90s, so many newer languages exist. But if one loves the Lisp way minus the syntax, Dylan is probably the leading choice.

What is Dylan interesting to you? This is a subjective question, which depends on you a lot. What are your interests? What are your goals? What are the current tools you're using, and are you not satisfied with them?

ぇ气 2024-12-27 18:33:43

dylan 真正酷的地方在于它的对象系统。 Common Lisp 有一个称为 CLOS(common lisp 对象系统)的对象系统,它基本上是所有对象系统中的 nonplus ultra,但 CL 的问题是,它是一种不干净的设计。 Dylan 人想要 CLOS 的所有功能,但采用简洁的新设计。

最特别的一点是,您可以使用对象之外的多种方法来完成所有操作。这确实很棒,但一开始很难看到好处。

另一件事是迪伦有一个宏系统,运行得很好。对于具有语法的语言,我还没有见过更好的宏系统。

总而言之,dylan 是一门非常棒的语言,只是它运气不好。每个人都应该尝试学习一些 dylan,这是一门有很多东西可以教的语言。 OpenDylan 人们继承了一大堆代码(编译器和库......),他们正在努力使其可以投入生产。

They real cool thing about dylan is its objectsystem. Common Lisp has an objectsystem called CLOS (common lisp object system) and it basically is the nonplus ultra of all objectsystems, but CL has the problem that it's kind of mmhh well kind of an unclean design. The Dylan people wanted all the power of CLOS but in a clean new design.

The main thing which is special is that you do everything with multimethods which are outside of the objects. It's really awesome but the benefits are kind of hard to see in the beginning.

The other thing is that dylan has a macrosystem, which works pretty ok. I have not seen a better macrosystem for a language with syntax.

All in all dylan is a really awesome language, it just had a lot of bad luck. Everybody should try to learn some dylan, it's a language with a lot to teach. The OpenDylan People inherited a shitload of code (compiler and libraries ...) and they are working on making it production-ready.

南巷近海 2024-12-27 18:33:43

乍一看,它看起来像一种具有传统语法的类似 Lisp 的语言。

像 C# 这样的语言缺乏 Lisp 强大的元编程功能,而且 Lisp 的语法对许多程序员来说看起来很难看。 Dylan 似乎将 lisp 的特性与“普通”语言的语法结合起来,这无疑是一个有吸引力的组合。

At a glance it looks like a Lisp like language with conventional syntax.

Languages like C# lack the powerful meta programming features of Lisp and on the Lisp has a syntax that looks ugly to many programmers. Dylan seems to combine the features of lisp with the syntax of "normal" languages, which is certainly an appealing combination.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文