Donate SIGN UP

What's the difference between parenthesis, braces and brackets?

Avatar Image
LimpyLionel | 17:18 Sat 16th Jul 2011 | Jobs & Education
4 Answers
What's the difference between parenthesis, braces and brackets?

And could you give me an example when to use each of those?

Thanks.
Gravatar

Answers

1 to 4 of 4rss feed

Avatar Image
In the UK, 'parentheses' and 'brackets' are the same: ( )
In the USA they're either 'parentheses' or 'round brackets'.
Here in the UK, I'd always call them simply 'brackets' except that I might refer to something as being 'in parentheses'.

Braces is a solely American term for what most Brits would call 'curly brackets': { }

Apart from when...
18:05 Sat 16th Jul 2011
In the UK, 'parentheses' and 'brackets' are the same: ( )
In the USA they're either 'parentheses' or 'round brackets'.
Here in the UK, I'd always call them simply 'brackets' except that I might refer to something as being 'in parentheses'.

Braces is a solely American term for what most Brits would call 'curly brackets': { }

Apart from when studying mathematics (where different types of bracket have very different meanings), almost the only time that I've ever found the need to use anything other than 'normal' brackets is when one pair of brackets is embedded between another pair. Then using curly or square brackets for one of the two pairs can make it easier for the reader to follow what is going on.

Note that in the USA, a 'bracket' is usually what Brits would call a 'square bracket'.

Confused? Don't worry about it!
Good old (round) brackets are nearly always good enough!

Chris
It only becomes important if you write computer code. Chris has more or less explained it.
Question Author
Thanks, Buenchico.
-- answer removed --

1 to 4 of 4rss feed

Do you know the answer?

What's the difference between parenthesis, braces and brackets?

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.