OnlineWoerterBuecher.de
Internes

Lexikon


singleton variable


A variable which is only referred to once in a piece of code, probably because of a programming mistake. To be useful, a variable must be set and read from, in that order. If it is only referred to once then it cannot be both set and read. There are various exceptions. C-like {assignment operators}, e.g. "x += y", read and set x and return its new value (they are abbreviations for "x = x+y", etc). A function argument may be passed only for the sake of uniformity or to support future enhancements. A good compiler or a syntax checker like lint should report singleton variables but also allow specific instances to be marked as deliberate by the programmer. (1997-12-20)

In addition suitable contents:
[ 2 ] [ = ] [ abbrev ] [ ad ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ arg ] [ argument ] [ as ] [ assignment ] [ at ] [ au ] [ b ] [ ba ] [ bb ] [ be ] [ bo ] [ bot ] [ br ] [ by ] [ C ] [ ca ] [ ch ] [ ci ] [ ck ] [ co ] [ code ] [ com ] [ compiler ] [ de ] [ du ] [ ec ] [ ed ] [ enhancement ] [ er ] [ era ] [ es ] [ et ] [ exception ] [ fi ] [ file ] [ fo ] [ for ] [ fr ] [ function ] [ gl ] [ gn ] [ gr ] [ gu ] [ h ] [ hat ] [ hr ] [ id ] [ ie ] [ il ] [ in ] [ instance ] [ int ] [ io ] [ is ] [ it ] [ ke ] [ ld ] [ Lex ] [ li ] [ lint ] [ ls ] [ lu ] [ ly ] [ ma ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ mu ] [ na ] [ nc ] [ ne ] [ ng ] [ ni ] [ nl ] [ nn ] [ no ] [ ns ] [ om ] [ op ] [ operator ] [ pa ] [ pe ] [ ph ] [ port ] [ pr ] [ program ] [ programmer ] [ programming ] [ pt ] [ query ] [ rc ] [ re ] [ ro ] [ sa ] [ se ] [ set ] [ sh ] [ si ] [ sig ] [ so ] [ spec ] [ st ] [ su ] [ support ] [ sy ] [ syntax ] [ T ] [ tc ] [ th ] [ to ] [ um ] [ up ] [ us ] [ va ] [ value ] [ var ] [ variable ] [ vi ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (4595 Reads)

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

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