What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Code vs Law - What's the difference?

code | law |

As nouns the difference between code and law

is that code is a short symbol, often with little relation to the item it represents while law is the body of rules and standards issued by a government, or to be applied by courts and similar authorities.

As a verb code

is to write software programs.

As an interjection law is

an exclamation of mild surprise; lawks.

As a proper noun Law is

{{surname|patronymic|from=given names}.

code

English

(wikipedia code)

Noun

(en noun)
  • 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)
  • The collection of laws made by the order of Justinian is sometimes called, by way of eminence, "The Code ".
  • 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= 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 .}}
  • (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.
  • 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 code

    See also

    * cipher

    Verb

  • (computing) To write software programs.
  • I learned to code on an early home computer in the 1980s.
  • To categorise by assigning identifiers from a schedule, for example CPT coding for medical insurance purposes.
  • (cryptography) To encode.
  • We should code the messages we sent out on Usenet.
  • (medicine) Of a patient, to suffer a sudden medical emergency such as cardiac arrest.
  • (genetics) To encode a protein.
  • Derived terms

    * coder * cSNP * decode * encode * hard-coded

    Anagrams

    * * ----

    law

    English

    (wikipedia law)

    Etymology 1

    From (etyl) lawe, and gesetnes. More at (l).

    Noun

  • (lb) The body of rules and standards issued by a government, or to be applied by courts and similar authorities.
  • :
  • *, chapter=22
  • , title= The Mirror and the Lamp , passage=Not unnaturally, “Auntie” took this communication in bad part.
  • A particular such rule.
  • :
  • *
  • *:As a political system democracy seems to me extraordinarily foolish,I do not suppose that it matters much in reality whether laws are made by dukes or cornerboys, but I like, as far as possible, to associate with gentlemen in private life.
  • (lb) A written or understood rule that concerns behaviours and their consequences. Laws are usually associated with mores.
  • :
  • A well-established, observed physical characteristic or behavior of nature. The word is used to simply identify "what happens," without implying any explanatory mechanism or causation. Compare to theory.
  • :
  • (lb) A statement that is true under specified conditions.
  • A category of English "common law" petitions that request monetary relief, as opposed to relief in forms other than a monetary judgment; compare to "equity".
  • (lb) One of the official rules of cricket as codified by the MCC.
  • The police.
  • :
  • (lb) One of the two metaphysical forces of the world in some fantasy settings, as opposed to chaos.
  • An oath, as in the presence of a court. See wager of law.
  • Hyponyms
    * sharia law
    Derived terms
    * above the law * against the law * a law unto oneself * * Avogadro’s law * Beer-Lambert law * Boyle’s law * bylaw * canon law * Charles’ law * civil law * common law * contract law * corn laws * Coulomb’s law * criminal law * de Morgan’s laws * employment law * family law * Faraday’s laws * federal law * feudal law * Fourier’s law * Gauss’s law * Graham’s law * Gresham’s law * Henry’s law * Hooke’s law * Hubble’s law * international law * into law * Kepler’s laws of planetary motion * Kerchoff’s laws * law and order * lawful * lawgiver * lawlike * law lord * lawmaker, law-maker * law of cosines * law of large numbers * law of sines * law of small numbers * law of tangents * law of the land * law of the tongue * lay down the law * long arm of the law * lynch law * martial law * Moore’s law * Murphy's law * natural law * Newton’s law of cooling * Newton’s law of gravitation * Newton’s laws of motion * Ohm’s law * physical law * power law * Poiseuille’s law * possession is nine points of the law * property law * Roman law * statuate (statute)+law=statuate law (US) * state law * statute law (Commonwealth English) * Stefan-Boltzmann law * Stokes’ law * sus law * take the law into one’s own hands * the law is an ass * three laws of robotics * unwritten law * Zipf’s law

    See also

    * * *

    Etymology 2

    From (etyl) . Also spelled low.

    Noun

    (en noun)
  • (obsolete) a tumulus of stones
  • a hill
  • * 1892 , Robert Louis Stevenson, Across the Plains
  • You might climb the Law [...] and behold the face of many counties.

    Etymology 3

    Compare (la).

    Interjection

    (en interjection)
  • (dated) An exclamation of mild surprise; lawks.
  • References

    Etymology] in [[:w:da:ODS, ODS]

    Statistics

    *

    Anagrams

    * ----