0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

#0109(2025/04/19)メタ構文変数

Posted at

メタ構文変数

メタ構文変数(etasyntactic variable)とは、プログラミングやコンピュータサイエンスの文脈で、コードの説明やサンプルを示すときに、具体的な名前が重要ではない変数や関数、オブジェクトなどを一時的に表現するために使われる汎用的な名前のことです。

メタ構文変数の由来

  • 「foo」「bar」の起源は明確には分かっていませんが、一般には第二次世界大戦時の米軍に由来するとされています。
  • 軍隊用語の俗語(FUBAR:「Fouled Up Beyond All Recognition」、直訳すると「めちゃくちゃに壊れている」)から来ているという説が有力です。

メタ構文変数一覧

No. メタ構文変数 読み(カタカナ)
1 foo フー
2 bar バー
3 baz バズ
4 qux クックス
5 quux クークス
6 corge コージ
7 grault グロールト
8 garply ガープリー
9 waldo ウォルド
10 fred フレッド
11 plugh プラフ
12 xyzzy ジズィー
13 thud サッド
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?