Code vs Token - What's the difference?
code | token |
A short symbol, often with little relation to the item it represents.
A body of law, sanctioned by legislation, in which the rules of law to be specifically applied by the courts are set forth in systematic form; a compilation of laws by public authority; a digest.
* (Francis Wharton) (1820-1899)
Any system of principles, rules or regulations relating to one subject; as, the medical code, a system of rules for the regulation of the professional conduct of physicians; the naval code, a system of rules for making communications at sea means of signals.
A set of rules for converting information into another form or representation.
# By synecdoche: a codeword, code point, an encoded representation of a character, symbol, or other entity.
A message represented by rules intended to conceal its meaning.
* {{quote-magazine, date=2014-06-21, volume=411, issue=8892, magazine=(The Economist)
, title= (label) A cryptographic system using a codebook that converts words]] or phrases into [[codeword, codewords.
(label) Instructions for a computer, written in a programming language; the input of a translator, an interpreter or a browser, namely: source code, machine code, bytecode.
# By synecdoche: any piece of a program, of a document or something else written in a computer language.
(computing) To write software programs.
To categorise by assigning identifiers from a schedule, for example CPT coding for medical insurance purposes.
(cryptography) To encode.
(medicine) Of a patient, to suffer a sudden medical emergency such as cardiac arrest.
(genetics) To encode a protein.
Something serving as an expression of something else; sign, symbol
A keepsake, momento, souvenir
A piece of stamped metal used as a substitute for money; a voucher that can be exchanged for goods or services
(obsolete, sometimes, figurative) Evidence, proof; a confirming detail; physical trace, mark, footprint.
* Shakespeare
Support for a belief; grounds for an opinion; reason, reasoning, witcraft (see usage)
An extraordinary event serving as evidence of supernatural power, a miracle
An object or disclosure to attest or authenticate the bearer or an instruction; a password
A seal guaranteeing the quality of an item.
Something given or shown as a symbol or guarantee of authority or right; a sign of authenticity, of power, good faith.
* (rfdate) (Shakespeare)
A tally
(philosophy) A particular thing to which a concept applies.
(computing) An atomic piece of data, such as a word, for which a meaning may be inferred during parsing. Also called a symbol.
* 2004 , Randall Hyde, Write Great Code: Understanding the Machine , page 68
(computing) A conceptual object that can be possessed by a computer, process, etc. in order to regulate a turn-taking system such as a token ring network.
(grammar) A lexeme; a basic, grammatically indivisible unit of a language such as a keyword, operator or identifier.
(medical) A characteristic sign of a disease or of a bodily disorder, a symptom; a sign of a bodily condition, recovery, or health.
(medical, obsolete) A livid spot upon the body, indicating, or supposed to indicate, the approach of death.
* (rfdate)'' (Beaumont and Fletcher)
(printing) Ten and a half quires, or, commonly, 250 sheets, of paper printed on both sides; also, in some cases, the same number of sheets printed on one side, or half the number printed on both sides.
(mining) A bit of leather having a peculiar mark designating a particular miner. Each hewer sends one of these with each corf or tub he has hewn.
(mining) A thin bed of coal indicating the existence of a thicker seam at no great distance.
(rail transport) A physical object used for exchange between drivers and signalmen on single track lines.
(weaving) In a loom, a colored signal to show the weaver which shuttle to use.
(Church of Scotland) A piece of metal given beforehand to each person in the congregation who is permitted to partake of the Lord's Supper.
Done as an indication or a pledge; perfunctory, minimal or merely symbolic.
* 1927 , , Money and Monetary Policy in Early Times , page 393
* 2000 , Cheris Kramarae, Dale Spender, Routledge International Encyclopedia of Women , Page 176
* 2008 , Adrian Blomfield, ,
a minor attempt for appearance sake, or to minimally comply with a requirement
* he was hired as the company's token black
* ''the television show was primarily directed toward a negro audience, but it did have a few token whites as performers
To betoken, indicate, portend, designate, denote
* 1962' (quoting '''c. 1398 text), (Hans Kurath) & Sherman M. Kuhn, eds., ''(Middle English Dictionary) , Ann Arbor, Mich.: (University of Michigan Press), , page 1242:
To betroth
(philosophy) To symbolize, instantiate
* {{quote-journal, 2008, date=August 27, Mikkel Gerken, Is There a Simple Argument for Higher-Order Representation Theories of Awareness Consciousness?, Erkenntnis, url=, doi=10.1007/s10670-008-9116-z, volume=69, issue=2, pages=
, passage=In which sense does ‘?p ~(p & ~p)’ cause the tokening of the belief in the subject? }}
In computing terms the difference between code and token
is that code is to write software programs while token is a conceptual object that can be possessed by a computer, process, etc. in order to regulate a turn-taking system such as a token ring network.As an adjective token is
done as an indication or a pledge; perfunctory, minimal or merely symbolic.code
English
(wikipedia code)Noun
(en noun)- The collection of laws made by the order of Justinian is sometimes called, by way of eminence, "The Code ".
Magician’s brain, passage=[Isaac Newton] was obsessed with alchemy. He spent hours copying alchemical recipes and trying to replicate them in his laboratory. He believed that the Bible contained numerological codes .}}
Derived terms
* binary code * civil code * code page * codebook * codestream * codeword * colour code * dead code * Gray code * machine code * managed code * Morse code * opcode * promo code * pseudocode * sort code * Unicode * unreachable codeSee also
* cipherVerb
- I learned to code on an early home computer in the 1980s.
- We should code the messages we sent out on Usenet.
Derived terms
* coder * cSNP * decode * encode * hard-codedExternal links
* *Anagrams
* * ----token
English
(wikipedia token)Noun
(en noun)- According to the Bible, the rainbow is a token of God's covenant with Noah.
- Please accept this bustier as a token of our time together.
- Subway tokens are being replaced by magnetic cards.
- A book token is the easiest option for a Christmas gift.
- Say, by this token , I desire his company.
- Say, by this token , I desire his company.
- For each lexeme, the scanner creates a small data package known as a token and passes this data package on to the parser.
- Like the fearful tokens of the plague, Are mere forerunners of their ends.
Synonyms
* (something serving as an expression of something else) sign, symbol * (atomic piece of data) symbolDerived terms
* by the same token * by that token — by that reason * in token of — on account of; because of, as an indication of * tokenism * tokenization * token ringSee also
* (philosophy) particular, universal, typeAdjective
(en adjective)- He made a token tap on the brake pedal at the stop sign.
- If the as had been reduced to a token in 240 BC, it was now a little more token than before.
- There are still many churches where the participation of women is token .
Has Russia got a new Stalin?, March 31, 2008
- Just to be on the safe side, the The Kremlin has also banned any of Putin’s serious critics from standing. Three unelectable misfits have been allowed to mount token challenges.
Derived terms
* tokenish * tokenistic * tokenless * tokenlikeVerb
(en verb)- dorr?&
- 773;', '''d?r?''' adj. & n.
