Code
Code noun - A collection or system of rules of conduct.
Usage example: the tax code
Law is a synonym for code in body of laws topic. In some cases you can use "Law" instead a noun "Code". popular alternative
Law
Law noun - A collection or system of rules of conduct.
Usage example: it's important to obey the law at all times, or else you might end up in jail
Code is a synonym for law in principle topic. You can use "Code" instead a noun "Law", if it concerns topics such as society, constitution, statute, body of laws. popular alternative
Mutual synonyms
How words are described
Both words in one sentence
-
A character may consider that not acting would be an even greater violation of his code or law system than holding back and letting things go through.
Source: To Be Lawful or Good -
And then there's the third option within the third option: Establish the Lawful Good character's "law" as a strict personal code of ethics, regardless of external law.
Source: To Be Lawful or Good - American-style court processes were recently included in the legal code of many Mexican states, and many judges and lawyers had to explain to their clients that Mexico uses Napoleonic and Roman law and NOT the American common law.
Source: Artistic License Law
Cite this Source
Law and Code. (2016). Retrieved 2026, July 21, from https://thesaurus.plus/related/code/law
Code & Law. N.p., 2016. Web. 21 Jul. 2026. <https://thesaurus.plus/related/code/law>.
Law or Code. 2016. Accessed July 21, 2026. https://thesaurus.plus/related/code/law.
Google Ngram Viewer shows how "code" and "law" have occurred on timeline