LoginSignup
67
61

More than 5 years have passed since last update.

英語では「0オリジン」「1オリジン」とは(あまり)言わない

Last updated at Posted at 2013-08-24

配列の添字が0または1から始まることを日本では「0オリジン」「1オリジン」と言うが、どうやらこれは和製英語らしい。一般的に英語ではそれぞれ zero-based, one-based と言う。

「添字が0から始まるインデックス方式」は "zero-based indexing"、「1から始まる添字を使った文字列アクセス」は "one-based string access" となる。

追記:zero-origin も使われているようだ。

67
61
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
67
61