Pattern vs Code - What's the difference?
pattern | code |
Model, example.
# Something from which a copy is made; a model or outline.
#* 1923 , ‘President Wilson’, Time , 18 Jun 1923:
# Someone or something seen as an example to be imitated; an exemplar.
#* 1946 , Bertrand Russell, History of Western Philosophy , I.16:
#
#
# A representative example.
# (US) The material needed to make a piece of clothing.
# (textiles) The paper or cardboard template from which the parts of a garment are traced onto fabric prior to cutting out and assembling.
# (metalworking, dated) A full-sized model around which a mould of sand is made, to receive the melted metal. It is usually made of wood and in several parts, so as to be removed from the mould without damage.
# (computing) A text string containing wildcards, used for matching.
Decorative arrangement.
# A design, motif or decoration, especially formed from regular repeated elements.
#* 2003 , Valentino, ‘Is there a future in fashion's past?’, Time , 5 Feb 2003:
# A naturally-occurring or random arrangement of shapes, colours etc. which have a regular or decorative effect.
#* 2011 , Rachel Cooke, The Observer , 19 Jun 2011:
# The given spread, range etc. of shot fired from a gun.
# A particular sequence of events, facts etc. which can be understood, used to predict the future, or seen to have a mathematical, geometric, statistical etc. relationship.
#* 1980 , ‘Shifting Targets’, Time , 6 Oct 1980:
#* 2003 , Kate Hudson, The Guardian , 14 Aug 2003:
# (linguistics) An intelligible arrangement in a given area of language.
to apply a pattern
To make or design (anything) by, from, or after, something that serves as a pattern; to copy; to model; to imitate.
* Sir T. Herbert
to follow an example
*
to fit into a pattern
To serve as an example for.
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.
As verbs the difference between pattern and code
is that pattern is to apply a pattern while code is .As a noun pattern
is model, example.pattern
English
(wikipedia pattern)Noun
(en noun)- There is no reason why all colleges and universities should be cut to the same pattern .
- The Platonic Socrates was a pattern to subsequent philosophers for many ages.
- There were no files matching the pattern
*.txt
.
- On my way to work the other day, I stopped at a church in Rome and saw a painting of the Madonna. The subtle pattern of blues and golds in the embroidery of her dress was so amazing that I used it to design a new evening dress for my haute couture.
- He lifted the entire joint or fowl up into the air, speared on a carving fork, and sliced pieces off it so that they fell on the plate below in perfectly organised patterns .
- The three killings pointed to an ugly new shift in the enduring pattern of violence in Northern Ireland: the mostly Protestant Ulster police, or those suspected of affiliation with them, have become more prominent targets for the I.R.A. than the British troops.
- Look again at how the US and its allies behaved then, and the pattern is unmistakable.
Synonyms
* original (1) * stencil (1) * tessellation (2) * category (3) * cycle (4) * similarity (5) * See alsoAntonyms
* antipatternDerived terms
* design patternVerb
(en verb)- [A temple] patterned from that which Adam reared in Paradise.
Synonyms
* model * categorize (2)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.