param
引数
解説 Definition
プログラミングで関数やコマンドに渡す値を指す略語です。コード、API、設定ファイルの説明で、どの値を渡すかを話すときに使われます。正式には parameter と書く場面もあります。
A param is an informal abbreviation for a parameter: a named input, option, or value associated with a function, command, API request, or configuration. In everyday technical usage, it may also refer loosely to an argument actually supplied when code is run.
覚え方のコツ Memory Tip
`param` は `parameter` を短くした形で、コード内では長い正式形を省いて軽く使われます。`pass a param`「引数を渡す」、`missing param`「引数不足」、`input param`「入力引数」のような塊で覚えると実用的です。厳密には `parameter` は関数定義側、`argument` は呼び出し側の値を指すことがありますが、実務では `param` が広く「渡す値」の意味で使われます。
Connect param directly to its full form, parameter. Developers shorten the longer word in code comments, documentation, and conversation, especially in phrases such as pass a param, required param, input param, and missing param. Picture an API refusing a request because one required param was omitted. In stricter terminology, a parameter is the variable named in a function definition, while an argument is the actual value supplied in a call. Real-world teams often use param more loosely for either one, so let the surrounding code or documentation determine the exact sense.
例文
Pass the user ID as a param to this function.
この関数にはユーザーIDを引数として渡してください。
The API returns an error when a required param is missing.
必須の引数がない場合、そのAPIはエラーを返します。
Can you add a debug param before running the command?
コマンドを実行する前に、デバッグ用の引数を追加してくれますか。
param の類義語・関連語
param の語源・成り立ち Etymology
`param` は `parameter` の短縮形です。`parameter` はギリシャ語 para「そばに」+ metron「測るもの」に由来し、仕組みの動作を決める値を表すようになりました。
Param is a modern informal shortening of parameter, formed by retaining its opening syllables. Parameter entered English through New Latin from Greek para, conveying “beside” or “alongside,” and metron, “measure.” Its technical senses developed from the idea of a quantity used to characterize or determine a system. In programming, the shortened form param is especially common in variable names, documentation, API discussions, and casual developer speech.
同じレベルの語彙をもっと
外部辞書で調べる
この英単語をクイズで覚えよう