Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Loosely typed language

A programming language that does not require a variable to be defined. For example, Perl is a loosely typed language, you can declare a variable but do not need to specify the type of variable. In the below example the first line declares the $test variable that can be used as an integer or string.

my $test;
$test = 1;  #Test variable is a integer.
$test = "hello"; #Test variable used as a string.

The opposite of a loosely typed languages is a strongly typed language, such as C.

Also see: Perl, Programming definitions

 

Index

Category:
Dictionary

Related Pages:
L - Definitions

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope