ソースコード
「ソースコード」の英語
「ソースコード」は英語で source code と言います。人間が読んだり編集したりするプログラムの本文を指す、最も一般的な表現です。computer program はコード全体や実行されるプログラムを指します。
「ソースコード」の英語の使い分け
人間が読んだり編集したりするプログラムの本文を指します。
コンピュータが実行する命令の集合やソフトウェアを広く指します。
This computer program helps students learn mathematics.
このコンピュータプログラムは、生徒の数学学習に役立ちます。
例文
The computer programme crashed during the presentation.
プレゼン中にコンピュータプログラムがクラッシュした。
コアイメージ
コンピュータが実行する命令の集合としてのコンピュータプログラム
英英
A set of instructions that a computer follows to perform specific tasks.
語源
computer programmeは、computer(計算する)に由来する語と、programme(フランス語・ギリシャ語で計画や公示を意味する語)が結びつき、コンピュータに与える手順を指す語として成立した。
コラム
- イギリス英語ではprogrammeが放送番組などに使われる一方で、コンピュータ分野ではprogramの綴りが広く用いられ、米語では原則としてprogramを使う。
例文
コアイメージ
ソースコードは人間が読めるプログラミング言語で書かれたプログラムの命令をテキストで表したもの
英英
The text of a computer program written in a programming language, intended to be read or edited by humans and translated into executable form.
語源
source codeは、source(出所・原)とcode(符号・命令を表す語)が結びついて、人間が書くプログラムの本文を意味するようになった
コラム
- ソースコードは人が編集するプログラムの本文であり、コンパイルや解釈で実行形式に変換される点で実行ファイルと異なる
「ソースコード」のレベル別の例文
- 中学
I read the source code after school today.
- 高校・英検2級
Developers shared the source code to improve the project.
- TOEIC・ビジネス
Our team reviewed the source code before deploying the new service.
- 日常会話
Can you send me the source code?
「ソースコード」を英語にするときのよくある間違い
× computer source
ソースコードは source code と言い、computer source とは通常言いません。
× Please do the source code.
○ Please write the source code.
ソースコードを作成する場合は do ではなく write を使います。