Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. A simple {} question

A simple {} question

Scheduled Pinned Locked Moved The Lounge
questioncss
21 Posts 17 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ _Zorro_

    Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

    T Offline
    T Offline
    Tim Carmichael
    wrote on last edited by
    #2

    I was always taught (and this is going back over 30 years) that they are brace brackets. Or... also known as 'curly brackets', as opposed to '()' being 'round brackets' and '[]' being square brackets. Tim

    1 Reply Last reply
    0
    • _ _Zorro_

      Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #3

      Squiggly brackets! Iain

      1 Reply Last reply
      0
      • _ _Zorro_

        Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

        E Offline
        E Offline
        Eddie_NG
        wrote on last edited by
        #4

        Parentheses I believe. Edit: Oh, Read the topic wrong, Parentheses are ().

        _ E 2 Replies Last reply
        0
        • _ _Zorro_

          Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #5

          Braces is what I've been using too.

          Regards, Nish


          Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
          Currently working on C++/CLI in Action for Manning Publications. (*Sample chapter available online*)

          1 Reply Last reply
          0
          • E Eddie_NG

            Parentheses I believe. Edit: Oh, Read the topic wrong, Parentheses are ().

            _ Offline
            _ Offline
            _Zorro_
            wrote on last edited by
            #6

            Ok, I'll use "brackets", it's for a function. If they don't like it, well, too bad :) Thanks!

            E 1 Reply Last reply
            0
            • _ _Zorro_

              Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

              T Offline
              T Offline
              Tarakeshwar Reddy
              wrote on last edited by
              #7

              Curly brackets or braces Wikipedia[^]


              Tarakeshwar Reddy MCP, CCIE Q(R&S) Experience is like a comb that life gives you when you are bald - Navjot Singh Sidhu

              1 Reply Last reply
              0
              • _ _Zorro_

                Ok, I'll use "brackets", it's for a function. If they don't like it, well, too bad :) Thanks!

                E Offline
                E Offline
                Eddie_NG
                wrote on last edited by
                #8

                Curly brackets or braces should do :P

                1 Reply Last reply
                0
                • _ _Zorro_

                  Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

                  S Offline
                  S Offline
                  Shog9 0
                  wrote on last edited by
                  #9

                  Curly brackets / curly braces. No preference between the two. FWIW: () == parentheses / parens [] == square brackets (never braces)

                  D _ 2 Replies Last reply
                  0
                  • S Shog9 0

                    Curly brackets / curly braces. No preference between the two. FWIW: () == parentheses / parens [] == square brackets (never braces)

                    D Offline
                    D Offline
                    Dan Neely
                    wrote on last edited by
                    #10

                    And don't forget when dealing with html/xml: <> == Angle brackets, not less/greater than signs. -- Rules of thumb should not be taken for the whole hand.

                    1 Reply Last reply
                    0
                    • _ _Zorro_

                      Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

                      J Offline
                      J Offline
                      Jon Sagara
                      wrote on last edited by
                      #11

                      Curly braces

                      Jon Sagara When I grow up, I'm changing my name to Joe Kickass! My Site | My Blog | My Articles

                      1 Reply Last reply
                      0
                      • _ _Zorro_

                        Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

                        J Offline
                        J Offline
                        James R Twine
                        wrote on last edited by
                        #12

                        My $.02...      **()**   -   Parentheses or Parens      **[]**   -   Brackets or Square Brackets      **{}**   -   Curly Braces or Braces (and never BEGIN/END :omg: :))      **<>**   -   Angle Brackets    Open and Close are used to describe which one when talking about a specific character.  For example, **[** is Open Bracket, and **)** is Close Paren.  Except when talking about the Angle Brackets, where it becomes Less-Than and Greater-Than***.  If you have a DOS/*nix CLI background, you might call them Redirect-In and Redirect-Out depending on the context.    Peace! *** At least, I have never heard anyone say "open angle bracket" and "closed angle bracket" before.

                        -=- James


                        If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
                        Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
                        DeleteFXPFiles & CheckFavorites (Please rate this post!)

                        C 1 Reply Last reply
                        0
                        • S Shog9 0

                          Curly brackets / curly braces. No preference between the two. FWIW: () == parentheses / parens [] == square brackets (never braces)

                          _ Offline
                          _ Offline
                          _Zorro_
                          wrote on last edited by
                          #13

                          After seeing some pics at google I imagined that ;P

                          1 Reply Last reply
                          0
                          • _ _Zorro_

                            Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

                            D Offline
                            D Offline
                            David Crow
                            wrote on last edited by
                            #14

                            Curly brackets or curly braces.


                            "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

                            "Judge not by the eye but by the heart." - Native American Proverb

                            1 Reply Last reply
                            0
                            • _ _Zorro_

                              Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

                              M Offline
                              M Offline
                              Matt Gerrans
                              wrote on last edited by
                              #15

                              Curlies.

                              Matt Gerrans

                              E 1 Reply Last reply
                              0
                              • E Eddie_NG

                                Parentheses I believe. Edit: Oh, Read the topic wrong, Parentheses are ().

                                E Offline
                                E Offline
                                Ed Poore
                                wrote on last edited by
                                #16

                                They're ()s

                                1 Reply Last reply
                                0
                                • M Matt Gerrans

                                  Curlies.

                                  Matt Gerrans

                                  E Offline
                                  E Offline
                                  Ed Poore
                                  wrote on last edited by
                                  #17

                                  Now did you mean that as a joke :suss:, some people may not know what that's slang for.

                                  1 Reply Last reply
                                  0
                                  • J James R Twine

                                    My $.02...      **()**   -   Parentheses or Parens      **[]**   -   Brackets or Square Brackets      **{}**   -   Curly Braces or Braces (and never BEGIN/END :omg: :))      **<>**   -   Angle Brackets    Open and Close are used to describe which one when talking about a specific character.  For example, **[** is Open Bracket, and **)** is Close Paren.  Except when talking about the Angle Brackets, where it becomes Less-Than and Greater-Than***.  If you have a DOS/*nix CLI background, you might call them Redirect-In and Redirect-Out depending on the context.    Peace! *** At least, I have never heard anyone say "open angle bracket" and "closed angle bracket" before.

                                    -=- James


                                    If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
                                    Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
                                    DeleteFXPFiles & CheckFavorites (Please rate this post!)

                                    C Offline
                                    C Offline
                                    Chris Meech
                                    wrote on last edited by
                                    #18

                                    Great explanation, James. And now just to show how confusing Plain English can be, if I wanted to brace something, I'd use a bracket, sometimes even an angled bracket. But I must admit that I've never braced anything with a parentheses. (Although I've been know to use parentheses to bracket sentences.) :)

                                    Chris Meech I am Canadian. [heard in a local bar] Nobody likes jerks. [espeir] Hey, I am part of a special bread, we are called smart people [Captain See Sharp] The zen of the soapbox is hard to attain...[Jörgen Sigvardsson] I wish I could remember what it was like to only have a short term memory.[David Kentley]

                                    1 Reply Last reply
                                    0
                                    • _ _Zorro_

                                      Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

                                      E Offline
                                      E Offline
                                      Eytukan
                                      wrote on last edited by
                                      #19

                                      Yup my maths teacher used to call it like that :). Flower Brackets :-D. Funny


                                      :Gong: 歡迎光臨 吐 西批 :Gong:

                                      1 Reply Last reply
                                      0
                                      • _ _Zorro_

                                        Anyone could tell me how do you call those in english? "{}". Braces came to me, but I'm not sure and after a google search less sure :) Thanks!

                                        P Offline
                                        P Offline
                                        Pete OHanlon
                                        wrote on last edited by
                                        #20

                                        OK - to compound this. The forward slash / is called a virgule. Now, if you use this in a more horizontal fashion, e.g. in a fraction, then it's called a Solidus. Well, there you go, English for the terrified.

                                        Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

                                        E 1 Reply Last reply
                                        0
                                        • P Pete OHanlon

                                          OK - to compound this. The forward slash / is called a virgule. Now, if you use this in a more horizontal fashion, e.g. in a fraction, then it's called a Solidus. Well, there you go, English for the terrified.

                                          Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

                                          E Offline
                                          E Offline
                                          El Corazon
                                          wrote on last edited by
                                          #21

                                          Pete O`Hanlon wrote:

                                          Well, there you go, English for the terrified.

                                          :omg::omg:

                                          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups