Thursday, 31 January 2013

Japanese for Programmers

変数 (hensū) variable

Related words:
  • 割り当てる (wariateru) to assign
Useful derivatives:
  • 環境変数 (kankyō hensū) environment variable
  • 外部変数 (gaibu hensū) external variable
  • 共用変数 (kyōyō hensū) shared variable
  • 局所変数 (kyokusho hensū) local variable
  • グローバル変数 (gurōbaru hensū) global variable
  • 静的変数 (seiteki hensū) static variable
  • 定義済み変数 (teigi-sumi hensū) built-in/predefined variable
  • 変数名 (hensū-mei) variable name.
関数 (kansū) function

Related words:
  • 呼び出す (yobidasu) to call (also just 呼ぶ (yobu))
  • 引数 (insū/hikisū) argument (i.e. to a function)
  • 返却値 (henkyakuchi) return value
    (Also 戻り値 (modori-chi))
Useful derivatives:
  • 再帰関数 (saiki kansū) recursive function
    (再帰 (saiki) in itself means recursion, and 末尾再帰 (matsubi saiki) is tail recursion)
  • 定義済み関数 (teigi-sumi kansū) predefined function
  • メンバー関数 (membā kansū) member function (in C++ or Java, for instance)
  • 関数呼び出し (kansū yobidashi) function call
  • 関数名 (kansū-mei) function name
  • 復帰する (fukki suru) to return
メモリ (memori) memory, and the stuff you can do with it

Related words:
  • 確保する (kakuho suru) to allocate (memory/resource)
  • 獲得する (kakutoku suru) to acquire (memory/resource)
  • 解放する (kaihō suru) to release/free (memory/resoruce)
  • 漏れ (more) a leak (watch out for these!)
    (Also メモリリーク (memori rīku) memory leak)
More useful Japanese programming words

  • 列挙 (rekkyo) enumeration
  • 配列 (hairetsu) array
  • 文字配列 (moji hairetsu) (character) string
  • 記述(子) (kijutsu(shi)) descriptor (e.g. file descriptor/handle)
  • 演算 (enzan) operation (e.g. 浮動小数点演算 (fudōshōsūten'enzan) floating point operation)
  • 差分 (sabun) a diff
  • 例外 (reigai) exception
    (例外を投げる (reigai o nageru) throw an exception)
  • ホゲ (hoge) foobar

No comments:

Post a Comment