Re:C++ by Example
by tialaramex on Thursday September 22, 2022 @05:34PM
(#32944910)
So, there are four things which might get colloquially called "Brackets", they each have other names but...
(Round) brackets are Parentheses
{Curly} brackets are Braces
<Angle> brackets are Chevrons
[Square] brackets are often just Brackets
Ah, so there's the problem. Now, this actually also differs depending on English variant. In England it would be pretty normal to say "Brackets" and mean Parentheses, whereas in the US you'd mean the square brackets. Some English speakers outside the US might call the Square Brackets "Crotchets" to distinguish them, not so many. US English dominates in technology.
(Round) brackets are Parentheses
{Curly} brackets are Braces
<Angle> brackets are Chevrons
[Square] brackets are often just Brackets
Ah, so there's the problem. Now, this actually also differs depending on English variant. In England it would be pretty normal to say "Brackets" and mean Parentheses, whereas in the US you'd mean the square brackets. Some English speakers outside the US might call the Square Brackets "Crotchets" to distinguish them, not so many. US English dominates in technology.