Word:

singleton variable

(programming)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.
Browse
Single-pair High Speed Digital Subscriber Line
single-propeller plane
single-reed instrument
single-reed woodwind
single-rotor helicopter
single-shelled
single-spaced
single-spacing
single-stranded
Single-surfaced
Singleness
singles
Singlestick
Singlet
singletary pea
Singleton
-- singleton variable --
Singletree
Singly
Singsong
Singspiel
Singster
Singular
singular form
singular matrix
Singular point
Singular point in a curve
Singular proposition
Singular succession
Singular term
singularise
Singularist
Singularity
Definitions Index: # 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

About this site and copyright information - Online Dictionary Home - Privacy Policy