Best Online Dictionary

« [ Back to Home ] »
<< Return to Computer Dictionary Home
 

.

 

Computer Dictionary Online

Search Computer Term Definition

Web Bestonlinedictionary.com

[ Home ] [ Law Dictionary ] [ Medical Dictionary ] [ Computer Dictionary ]

Computer Dictionary

A to Z Computer Terms Dictionary, Definitions Search

| 0-9 | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |
|
R | S | T | U | V | W | X | Y | Z |
 

 

weak typing definition

<programming> Strict enforcement of type rules but with well-defined exceptions or an explicit type-violation mechanism.

Weak typing is "friendlier" to the programmer than strong typing, but catches fewer errors at compile time.

C and C++ are weakly typed, as they automatically coerce many types e.g. ints and floats. E.g.

 int a = 5;
 float b = a;

They also allow ignore typedefs for the purposes of type comparison; for example the following is allowed, which would probably be disallowed in a strongly typed language:

 typedef int Date;    /* Type to represent a date */
 Date a = 12345;
 int b = a;       /* What does the coder intend? */

C++ is stricter than C in its handling of enumerated types:

 enum animal {CAT=0,DOG=2,ANT=3};
 enum animal a = CAT;  /* NB The enum is optional in C++ */
 enum animal b = 1;    /* This is a warning or error in C++ */

(2000-07-04)

 


Nearby terms: WE « Weak Head Normal Form « weakly typed « weak typing » weasel » WEB » Web
   

 

 
 
<< Return to Computer Dictionary Home Page
 


 

computer dictionary, computer terms dictionary, online computer dictionary, computer definition dictionary online, microsoft computer dictionary fifth edition, computer lingo dictionary, computer terminology dictionary, computer computer dictionary dictionary internet internet terms terms, barrons business computer dictionary dictionary internet terms, abbreviation computer dictionary lingo, computer dictionary edition new tenth websters world, computer dictionary with terms and definition, computer science dictionary, american computer dictionary house language random sign websters, dictionary computer internet terms, microsoft computer dictionary, computing dictionary

[ Home ] [ Law Dictionary ] [ Medical Dictionary ] [ Computer Dictionary ]
 

Advertisers : www.hobbyprojects.com, www.sciencelobby.com, www.hotgamecheater.com,
www.indianfoodrecipes.net www.joyeemukherjee.com, www.beautytipsforwomen.net

 

Best Online Dictionary .com

 

www.bestonlinedictionary.com Copyright ® All Rights Reserved