singleton variable
singleton variable
(programming)There are various exceptions. C-like assignment operators, e.g. "x += y", read and set x and return its newvalue (they are abbreviations for "x = x+y", etc). Afunction argument may be passed only for the sake ofuniformity or to support future enhancements. A goodcompiler or a syntax checker like lint should reportsingleton variables but also allow specific instances to bemarked as deliberate by the programmer.