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)

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 - (5077 Reads)

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

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