动态语言 [英] Dynamic languages

查看:83
本文介绍了动态语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在阅读E-Week上发表的题为Microsoft

Lures开源程序员的文章,其中包含动态

语言的定义如下:


动态编程语言使程序在运行时可以更改其结构。


我想知道这个定义是否正确。

我们可以用这种方式定义动态语言吗?

http://www.eweek.com/article2/0,1759,1636906,00.asp

解决方案



" Neuruss" <卢**** @ gmx.net>在消息中写道

news:27 ************************* @ posting.google.co m ... < blockquote class =post_quotes>我一直在阅读E-Week上发表的题为Microsoft
Lures Open-Source Programmer的文章,其中包含动态
语言的定义,如下所示: br />
动态编程语言使程序能够在运行时改变它们的结构。

我想知道这个定义是否正确。
我们可以以这种方式定义动态语言?

http://www.eweek.com/article2/0,1759,1636906,00.asp




我怀疑这是他们的意思意思是,动态语言是一种语言

仍然在发展(Python)而不是死语言(COBOL)。


它们可能指的是可以在运行时添加和删除组件的程序




Tom


" Tom B." < SB ****** @ commspeed.net>在消息新闻中写道:< 10 *************** @ news.commspeed.net> ...

我怀疑这是他们的意思但是动态语言是一种仍然在发展的语言(Python)而不是死语言(COBOL)。

它们可能指的是可以添加和删除组件的程序在运行时。




动态是指变量的输入。在Python中,变量在赋值时动态获得

类型。

参见: http://www.artima.com/weblogs/viewpost.jsp?thread=4639

和几个Bruce Eckel关于此主题的博客文章:
http://www.mindview。 net / WebLog /

Marcel。




" Marcel van den Dungen的" < M _ ******** @ yahoo.com>在消息中写道

新闻:98 ************************* @ posting.google.co m ... < blockquote class =post_quotes>Tom B. < SB ****** @ commspeed.net>在消息中写道



news:< 10 *************** @ news.commspeed.net> ...

我怀疑这是他们的意思,但动态语言是一种仍然在发展的语言(Python),而不是死语言(COBOL)。

他们可能指的是可以在运行时添加和删除
组件的程序。



动态是指变量的输入。在Python中,变量在赋值时会动态获得
类型。
另请参阅: http://www.artima.com/weblogs/viewpost.jsp?thread=4639
以及Bruce Eckel关于此主题的几篇博文:
http://www.mindview.net/WebLog/

Marcel。




这些语言被称为动态类型语言,这意味着

有一种静态类型语言,那里有是。

所有语言都是动态的,这种俚语是糟糕的计算机科学。没有

就像静态计算机语言一样。


Tom


I''ve been reading an article published in E-Week entitled "Microsoft
Lures Open-Source Programmer", which contains a definition for dynamic
languages as follows:

"Dynamic programming languages enable programs to change their
structure as they run."

I wonder if this definition is correct.
Can we define dynamic languages this way?

http://www.eweek.com/article2/0,1759,1636906,00.asp

解决方案


"Neuruss" <lu****@gmx.net> wrote in message
news:27*************************@posting.google.co m...

I''ve been reading an article published in E-Week entitled "Microsoft
Lures Open-Source Programmer", which contains a definition for dynamic
languages as follows:

"Dynamic programming languages enable programs to change their
structure as they run."

I wonder if this definition is correct.
Can we define dynamic languages this way?

http://www.eweek.com/article2/0,1759,1636906,00.asp



I doubt that this is what they mean but a dynamic language is a language
that is still evolving (Python) as opposed to a dead language (COBOL).

They probably are referring to programs that can add and remove components
during runtime.

Tom


"Tom B." <sb******@commspeed.net> wrote in message news:<10***************@news.commspeed.net>...

I doubt that this is what they mean but a dynamic language is a language
that is still evolving (Python) as opposed to a dead language (COBOL).

They probably are referring to programs that can add and remove components
during runtime.



Dynamic refers to the typing of variables. In Python variables get a
type dynamically when assigned a value.
See also: http://www.artima.com/weblogs/viewpost.jsp?thread=4639
and several blog posting of Bruce Eckel on this subject:
http://www.mindview.net/WebLog/

Marcel.



"Marcel van den Dungen" <m_********@yahoo.com> wrote in message
news:98*************************@posting.google.co m...

"Tom B." <sb******@commspeed.net> wrote in message


news:<10***************@news.commspeed.net>...

I doubt that this is what they mean but a dynamic language is a language
that is still evolving (Python) as opposed to a dead language (COBOL).

They probably are referring to programs that can add and remove components during runtime.



Dynamic refers to the typing of variables. In Python variables get a
type dynamically when assigned a value.
See also: http://www.artima.com/weblogs/viewpost.jsp?thread=4639
and several blog posting of Bruce Eckel on this subject:
http://www.mindview.net/WebLog/

Marcel.



Those languages are called dynamically typed languages, this implies that
there is a statically typed language, which there is.
All languages are dynamic, this slang is bad computer science. There is no
such thing as a static computer language.

Tom


这篇关于动态语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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