英単語解説 – Code

Code /kəʊd/

法典、規約、暗号、プログラム

(名詞・動詞)体系化されたルール、または情報を変換するための記号体系。コンピュータへの命令。

「木の板 (codex) に書き記された、不変の決まり」

📚 意味と用法

code は、法律やマナーなどの「規則(規約)」を指すほか、メッセージを隠すための「暗号」、そしてIT分野ではソフトウェアを動かす「ソースコード」を指します。

規則・規範 (Rules)

Students must follow the school’s dress code.

(生徒は学校の服装規定に従わなければならない。)

プログラミング (IT)

The developer wrote 500 lines of code today.

(開発者は今日、500行のコードを書いた。)

🕰️ 語源と歴史

「code」は、ラテン語の「codex」(木の幹、板、書物)に由来します。

古代ローマでは、法律が木の板に書かれていたことから「法典」を意味するようになりました。そこから「体系化された規則」や「秘密の書き方(暗号)」へと意味が広がりました。

codex (ラテン語)
(木の板/書物)
Codice
(法典)
Code
(規約/コード)

🔄 類義語

rule (規則)
law (法律)
cipher (暗号)
protocol (儀礼、通信規約)

単語の性質

code は「体系化された一連の決まり」という、ひとまとまりのシステムを指すことが多いです。

⚡ 対義語

chaos (混沌)
disorder (無秩序)
plain text (平文 ※暗号に対し)

💬 実践的な例文

1

The soldiers used a secret code to communicate.

兵士たちは通信するために秘密の暗号を使った。

状況: 軍事やスパイ映画
2

Honesty is part of the professional code of conduct.

誠実さはプロとしての行動規範の一部である。

状況: ビジネスや倫理
3

I’m trying to find a bug in the source code.

私はソースコードの中のバグを見つけようとしている。

状況: ソフトウェア開発
4

Please enter your area code before the phone number.

電話番号の前に市外局番(コード)を入力してください。

状況: 事務手続き
5

The building was not up to fire code.

その建物は火災安全基準(法規)を満たしていなかった。

状況: 建築安全

🧠 練習問題

以下の空欄に入る最も適切な単語を選んでください。

1. A “dress code” tells you ______.

How to cook
What you should wear
How to write programs
Where the building is

解説:

Dress code は「服装規定」のことです。

2. To “decode” a message means to ______.

Delete it
Understand its hidden meaning
Post it on a site
Make it longer

解説:

Decode は暗号などを「解読する(隠された意味を理解する)」という意味です。

3. The origin “codex” initially meant ______.

a computer
a block of wood / book
a secret
a star

解説:

ラテン語の codex は「木の板」から「本・法典」を指すようになりました。

4. A “genetic code” is found in ______.

The ocean
DNA
The sky
The desert

解説:

Genetic code は「遺伝暗号(遺伝情報)」のことで、DNAに関連します。

5. In computing, “source code” is written by ______.

Doctors
Artists
Programmers
Monks

解説:

ソースコードはプログラマーが書くプログラムの命令書です。