Reputation: 3454
I was just trying to explain programming in JavaScript to a friend of mine who is just starting out with programming and I called the '{'
and '}'
characters curly braces (or brackets). He laughed at me and said surely they have a better name than that and I realized that I don't know if they do.
Do they have a formal name?
Upvotes: 3
Views: 4330
Reputation: 1
Iv always thought of them as curly brackets or "fancy brackets" but not sure if the have a more professional name for them.
Upvotes: 0
Reputation: 5157
THe formal name is curly brackets, but they have many pet names such as curly braces, flower brackets, etc...
Yes, curly brackets is the formal name...
Upvotes: 1
Reputation: 245399
Technically, they are simply known as Braces:
http://en.wikipedia.org/wiki/Bracket#Braces_or_Curly_brackets_.7B_.7D
Upvotes: 8