There are 4 kinds of brackets that are used in most programming languages such as Java, PHP, HTML, CSS, Python, Scala, C#, .Net, etc,
1. Square brackets [ ]
Square brackets [ and ] are also called "brackets" in programming,
Some other names,
- "crotchets"
- "closed brackets"
- "hard brackets"
These are mostly used to define arrays.
2. Curly brackets { }
Curly brackets { and } are also known as "curly braces" or simply "braces"
- "definite brackets"
- "swirly brackets"
- "birdie brackets"
- "French brackets"
- "flower brackets"
- "Scottish brackets"
- "squirrelly brackets"
- "gullwings", "seagulls"
- "squiggly brackets"
- "twirly brackets"
- "Tuborg brackets"
- "accolades"
- "pointy brackets"
- "fancy brackets"
- "M Braces"
- "moustache brackets"
- "squiggly parentheses"
3. Rounded brackets ( )
Rounded brackets are the most commonly used brackets in all programming and scripting languages,
Aslo know as,
- "Parentheses"
- "brackets"
- "parens"
- "round brackets"
- "circle brackets"
- "smooth brackets"
4. Angle brackets < >
These brackets are mostly used to define HTML/XML tags, as well as generics in Java,
Aslo know as,
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!