answersLogoWhite

0


Best Answer

Dynamic programming languages are often refered to as 'weakly typed' which means that variables are not bound to a particular type until runtime. For example, C++ is a 'strongly typed language, while Perl is a 'weakly typed' or 'dynamic' language.

A strongly typed language requires that you specify a type:

int i = 0;

In that C++ snippet, an integer names i is created and assigned the value of 0. The following would not compile in C++:

int i = 0;

i = "Hello world";

This would fail because i has been declared to be an integer and can not be assigned a string value. The following code would succeed in a dynamic language like Perl:

i = 0;

i = "Hello world";

The type is not declared here at all, because it is not bound to a type until runtime. In the first statement, i is bound to an integer type but in the second statement it is bound to a string type.

While dynamic language are easier to program in, they are much slower than strongly typed languages and are generally regarded as less safe since checking is not done until run time.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

A dynamic language is a language that displays text in a dynamic, non-static, manner, without having to change the source of a file; dynamic languages can also perform a number of tasks, such as information retrievement and insertion. Dynamic languages are primarily used for modern computer applications. For example, a dynamic language may be used to output the name of a user, in which was entered through an HTML input element, and processed by the dynamic language to actually log the user in. A static language cannot do this.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

Dynamic programming languages do not strongly type the variable types at compile time, but infer the type of variables at run time. These languages also typically have inferencing based upon use. For example:
var myValue = "123";
print myValue;
myValue = myValue + "456"; //Concats a string
print myValue;
myValue = myValue + 456; //Infers the value as a number, and adds to the value
print myValue;
Results:
123
123456
123912

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is dynamic programming language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between static and dynamic programming?

in static programming properties, methods and object have to be declared first, while in dynamic programming they can be created at runtime. This is usually due to the fact that the dynamic programming language is an interpreted language.


What is the PHP programming language?

PHP is a server-side scripting language mainly for processing a user's data-input and generating dynamic content.


What is Javascritpt?

JavaScript is a client-side programming language, it adds some level of style and dynamic content to a website.


Is quick sort is an example of dynamic programming algorithm?

quick sort is a divide and conquer method , it is not dynamic programming


What is IL?

IL stands for Intermediate language. It is an object-oriented programming language that is used by compilers for the .NET Framework before static or dynamic compilation to machine code.


Is XML a programming language?

It is programming languages that are referred to in terms of "high level" and "low level".Extensible Markup Language(XML) is a markup language not a programming language, it is a data formatting specification that makes the presentation of data independent of programs (so that data can be passed between programs).For this reason the answer to your question is "neither".


What has the author Ronald A Howard written?

Ronald A. Howard has written: 'Dynamic Probabilistic Systems, Volume II' 'Dynamic programming and Markov processes' -- subject(s): Dynamic programming, Markov processes


Is the B programming language a high or low level programming language?

The B programming language is a high-levelprogramming language.


What has the author Sven Dano written?

Sven Danoe has written: 'Nonlinear and dynamic programming'


Where did IBM get their programming language?

Computer programming language


Is there a program that can help you make a programming language but you don't need to know a programming language?

No. In order to make or use a program or a programming language, you need to know a programming language.


What is ECMAScript?

ECMAScript is a programming language adopted by the European Computer Manufacturer's Association as a standard for performing computations in Web applications. The ECMAScript language includes structured, dynamic, functional, and prototype-based features.