OnlineWoerterBuecher.de
Internes

Lexikon


weak typing


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)

Style="border-width:thin; border-color:#333333; border-Style:daShed; padding:5px;" align="left">In addition Suitable contentS:
[ 2 ] [ = ] [ ag ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ aS ] [ AT ] [ at ] [ au ] [ B ] [ b ] [ ba ] [ be ] [ C ] [ C++ ] [ CA ] [ ca ] [ CAT ] [ cat ] [ ch ] [ ci ] [ co ] [ code ] [ com ] [ compile time ] [ D ] [ date ] [ de ] [ do ] [ du ] [ E ] [ ec ] [ ed ] [ enumerated type ] [ er ] [ era ] [ error ] [ eS ] [ exception ] [ fi ] [ file ] [ fo ] [ for ] [ fr ] [ G ] [ ge ] [ gl ] [ gn ] [ gr ] [ gu ] [ h ] [ hat ] [ hr ] [ id ] [ ie ] [ il ] [ in ] [ int ] [ io ] [ iS ] [ it ] [ la ] [ language ] [ ld ] [ Lex ] [ li ] [ lS ] [ ly ] [ ma ] [ man ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ N ] [ na ] [ NB ] [ ne ] [ nf ] [ ng ] [ ni ] [ no ] [ nS ] [ NT ] [ nu ] [ O ] [ om ] [ op ] [ option ] [ pa ] [ pe ] [ ph ] [ ping ] [ pl ] [ pr ] [ program ] [ programmer ] [ programming ] [ pt ] [ query ] [ rc ] [ re ] [ ro ] [ ru ] [ S ] [ Sa ] [ Se ] [ Sm ] [ So ] [ St ] [ Strict ] [ Strongly typed ] [ Strong typing ] [ T ] [ tc ] [ th ] [ to ] [ tr ] [ tron ] [ type ] [ ua ] [ um ] [ vi ] [ weakly typed ] [ win ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (5150 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.1292 Seconds, with 17 Database-Queries
Zurück zur Startseite