Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Dynamic languages (http://www.velocityreviews.com/forums/t335124-dynamic-languages.html)

Neuruss 08-27-2004 09:49 PM

Dynamic languages
 
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

Tom B. 08-27-2004 11:31 PM

Re: Dynamic languages
 

"Neuruss" <luismg@gmx.net> wrote in message
news:278de0e.0408271349.26762174@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



Marcel van den Dungen 08-28-2004 01:31 PM

Re: Dynamic languages
 
"Tom B." <sbabbitt@commspeed.net> wrote in message news:<1093650026.763899@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.

Tom B. 08-28-2004 02:22 PM

Re: Dynamic languages
 

"Marcel van den Dungen" <m_vddungen@yahoo.com> wrote in message
news:98862c6.0408280531.6064d510@posting.google.co m...
> "Tom B." <sbabbitt@commspeed.net> wrote in message

news:<1093650026.763899@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



Reid Nichol 08-28-2004 05:24 PM

Re: Dynamic languages
 
Tom B. wrote:
> 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).

During my "education" at my school of unfortunate choice I had to learn
the script of the damned... sorry, COBOL. I learned that it has indeed
gone through some developments in the past years ie COBOL now is object
oriented COBOL.

It *should* be dead though, but companies don't want to develope any new
systems. So, they fund a programming program at some local college at
"suggest" that they include it so that they have a work force availible
to make changes to there system.

That of course doesn't mean that this certain company's COBOL programmer
lasts on average < 6 months. Which certainly is the case. Quite
frankly I don't know how they last so long.

Tom B. 08-28-2004 06:41 PM

Re: Dynamic languages
 

"Reid Nichol" <rnichol_rrc@yahoo.com> wrote in message
news:rc3Yc.3346$MR2.22572@news1.mts.net...
> Tom B. wrote:
> > 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).

> During my "education" at my school of unfortunate choice I had to learn
> the script of the damned... sorry, COBOL. I learned that it has indeed
> gone through some developments in the past years ie COBOL now is object
> oriented COBOL.
>
> It *should* be dead though, but companies don't want to develope any new
> systems. So, they fund a programming program at some local college at
> "suggest" that they include it so that they have a work force availible
> to make changes to there system.
>
> That of course doesn't mean that this certain company's COBOL programmer
> lasts on average < 6 months. Which certainly is the case. Quite
> frankly I don't know how they last so long.


I figured that I wouldn't be able to find any truly dead computer
language. I met a technician at U of Minnesota Physics department who
collected PDP11's and programmed only in fourth. When I asked him why he
replied, 'If I don't do it who will'.

Tom



Chris S. 08-29-2004 01:56 AM

Re: Dynamic languages
 
Marcel van den Dungen wrote:

> "Tom B." <sbabbitt@commspeed.net> wrote in message news:<1093650026.763899@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/


Personally, I think the definition can go a little further. In Python,
if you were so inclined, you could generate completely new functionality
through the use of exec and eval statements. This dynamic generation,
just not addition, of functionality at runtime I think is an important
aspect of dynamic languages.

Chris S. 08-29-2004 02:04 AM

Re: Dynamic languages
 
Tom B. wrote:

> "Marcel van den Dungen" <m_vddungen@yahoo.com> wrote in message
> news:98862c6.0408280531.6064d510@posting.google.co m...
>
>>"Tom B." <sbabbitt@commspeed.net> wrote in message

>
> news:<1093650026.763899@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.


I respectively disagree. The difference between static and dynamic is an
important one. There are things I can do in Python that are synatically
impossible in C or C++ simply due to their absence of a native eval().

Donn Cave 08-29-2004 03:59 AM

Re: Dynamic languages
 
Quoth m_vddungen@yahoo.com (Marcel van den Dungen):
....
| 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/

I imagine they may actually have been looking at some version of
this: http://www.fact-index.com/d/dy/dynam..._language.html
which goes beyond static vs. dynamic typing in the sense they
ordinarily seem to be used. I'm not sure they really put their
finger on the main problem in the way of a Python compiler, but
whatever.

Donn Cave, donn@drizzle.com

Tom B. 08-29-2004 01:38 PM

Re: Dynamic languages
 

I was actually trying to make a point about semantics in that the terms
'dynamic' and 'static' are too generic. In computer science it is the custom
(but not always) to name a process as accurately as possible and use
acronyms. This way a Dynamically Typed Language becomes DTL and a
Dynamically Run Language becomes DRL, insuring that Python remains superior
in more way than one.

Tom




All times are GMT. The time now is 02:12 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57