HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 66767 thumbnail
User 160772 avatar

By sdevijver
via groovy.dzone.com
Published: Feb 18 2008 / 10:18

Dynamically typed, non-dynamic languages vs dynamically typed, dynamic languages vs statically typed, dynamic languages vs statically typed, non-dynamic languages!
  • 10
  • 4
  • 1828
  • 0

Comments

Add your comment
User 204981 avatar

reido56 replied ago:

0 votes Vote down Vote up Reply

If I understand what this says, "dynamic language" means the language has dynamic dispatch.

User 160772 avatar

sdevijver replied ago:

0 votes Vote down Vote up Reply

That's right.

User 204981 avatar

reido56 replied ago:

0 votes Vote down Vote up Reply

Oops, "dynamic dispatch" can also refer to the capability for an object to be stored in a variable typed as one of the object's superclasses or interfaces, yet still dispatch methods called on the variable to the object's actual class (which inherits or implements the variable type). I should have remembered that distinction from C++ (virtual vs. non-virtual methods)....

I'll amend it to say that a "dynamic language" has "configurable message-passing", and hope that might make sense....

User 233461 avatar

antych replied ago:

0 votes Vote down Vote up Reply
User 204981 avatar

reido56 replied ago:

0 votes Vote down Vote up Reply

And yet that definition doesn't include "meta-object protocol", which is what the article uses as a distinguishing characteristic.

User 160772 avatar

sdevijver replied ago:

0 votes Vote down Vote up Reply

I don't provide an over-arching definition for a dynamic programming language. I do say Groovy, Ruby and Python have a MOP. That does not mean a MOP is distinctive for all dynamic languages. Typical, maybe.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.