Symbol (programming)

Symbol (programming)

A symbol in computer programming is a primitive datatype whose instances have a unique human-readable form. Symbols can be used as identifiers. In some programming languages, they are called atoms.

In the most trivial implementation, they are essentially named integers (e.g. the enumerated type in C).

Read more about Symbol (programming):  Support

Other articles related to "symbol, symbols":

Symbol (programming) - Support - Smalltalk - Examples
... The following is a simple example of a symbolliteral in Smalltalk my_symbol = #'an identifier' " Symbolliteral " my_symbol = #a " Technically, this is a selector ... In most implementations, " " selectors are symbols so this is also a symbolliteral " Strings can be coerced into symbols vice versa my_symbol = 'Hello, world!' asSymbol " => #'Hel ...

Famous quotes containing the word symbol:

    Whether he admits it or not, a man has been brought up to look at money as a sign of his virility, a symbol of his power, a bigger phallic symbol than a Porsche.
    Victoria Billings (b. 1945)