(なかかっこ)

なかかっこ
noun
curly brackets; braces { }
1. curly brackets; braces
The punctuation marks { } used primarily in mathematics and programming. Called 中括弧 (middle brackets) because they fall between parentheses (small) and square brackets (large) in the Japanese bracket hierarchy.
中括弧(なかかっこ)(なか)にコードを()く。
Write the code inside curly brackets.
数学(すうがく)では、集合(しゅうごう)中括弧(なかかっこ)(あらわ)す。
In mathematics, sets are represented with curly brackets.
中括弧(なかかっこ)()(わす)れるとエラーになる。
If you forget to close the curly bracket, you'll get an error.

Composed of (なか) (middle) + 括弧(かっこ) (brackets). In the traditional Japanese bracket naming convention, the three main types form a size hierarchy: 小括弧(しょうかっこ) (parentheses) < 中括弧(ちゅうかっこ) (curly brackets) < 大括弧(だいかっこ) (square brackets). However, in modern usage, 丸括弧(まるかっこ)/角括弧(かくかっこ)/中括弧(なかかっこ) (named by shape) is more common.

COMMON COLLOCATIONS:

  • 中括弧(なかかっこ)(かこ)む: to enclose in curly brackets
  • 中括弧(なかかっこ)(ひら)く: to open a curly bracket
  • 中括弧(なかかっこ)()じる: to close a curly bracket

NAMING NOTE:
Also called 波括弧(なみかっこ) (wave brackets) due to their curved shape. In programming contexts, the English loanword ブレース (brace) is sometimes used.

SIMILAR WORDS:

  • 丸括弧(まるかっこ): parentheses ( ) -- the most common bracket type
  • 角括弧(かくかっこ): square brackets [ ] -- used in academic and technical writing