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 vote regarding goto statement

a vote regarding goto statement

Scheduled Pinned Locked Moved The Lounge
comquestion
25 Posts 18 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.
  • T Tarek Elqusi

    When I posted this goto statement[^] comment I didn't think it would grow as such. I think I touched a deeply controversial topic in the development world. I then suggested on CodeProject to vote regarding GOTO and they replied on me with this old vote[^]

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #10

    Tarek Elqusi wrote:

    I think I touched a deeply controversial topic in the development world.

    It's a topic that has been "discussed" once too often. While it has its uses in procedural languages, it rarely has one in a modern OO language. Its use is discouraged simply because it makes it hard to follow the programs' flow, often resulting in what is known as spaghetti-code. A simple mind would summon that up as "goto is bad". The best practice nowadays would be ravioli-code. What controverse?

    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

    R 1 Reply Last reply
    0
    • L Lost User

      Tarek Elqusi wrote:

      I think I touched a deeply controversial topic in the development world.

      It's a topic that has been "discussed" once too often. While it has its uses in procedural languages, it rarely has one in a modern OO language. Its use is discouraged simply because it makes it hard to follow the programs' flow, often resulting in what is known as spaghetti-code. A simple mind would summon that up as "goto is bad". The best practice nowadays would be ravioli-code. What controverse?

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #11

      Eddy Vluggen wrote:

      What controverse?

      Tabs. You definitely should use tabs instead of spaces.

      ~RaGE();

      I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

      M L 2 Replies Last reply
      0
      • R Rage

        Eddy Vluggen wrote:

        What controverse?

        Tabs. You definitely should use tabs instead of spaces.

        ~RaGE();

        I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

        M Offline
        M Offline
        Marco Bertschi
        wrote on last edited by
        #12

        Dogs. You definitely should have dogs instead of cats. Let's see how this chain proceeds

        The busier I am, the more I procrastinate. - Chris "The Mighty" Maunder

        P 1 Reply Last reply
        0
        • M Marco Bertschi

          Dogs. You definitely should have dogs instead of cats. Let's see how this chain proceeds

          The busier I am, the more I procrastinate. - Chris "The Mighty" Maunder

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

          I hate marmite

          OriginalGriffO W 2 Replies Last reply
          0
          • OriginalGriffO OriginalGriff

            :Groan:

            The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

            R Offline
            R Offline
            Ravi Bhavnani
            wrote on last edited by
            #14

            Crumbs... :( /ravi

            My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

            1 Reply Last reply
            0
            • R Rage

              Eddy Vluggen wrote:

              What controverse?

              Tabs. You definitely should use tabs instead of spaces.

              ~RaGE();

              I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #15

              Rage wrote:

              Tabs. You definitely should use tabs instead of spaces.

              Make it part of the "coding convention" and say it's mandatory :thumbsup:

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

              1 Reply Last reply
              0
              • T Tarek Elqusi

                When I posted this goto statement[^] comment I didn't think it would grow as such. I think I touched a deeply controversial topic in the development world. I then suggested on CodeProject to vote regarding GOTO and they replied on me with this old vote[^]

                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu Peter
                wrote on last edited by
                #16

                You just did that. Touched an open nerve of every developer.

                I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).

                "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                1 Reply Last reply
                0
                • P Pete OHanlon

                  I hate marmite

                  OriginalGriffO Offline
                  OriginalGriffO Offline
                  OriginalGriff
                  wrote on last edited by
                  #17

                  I hate all your insects.

                  The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                  G 1 Reply Last reply
                  0
                  • T Tarek Elqusi

                    When I posted this goto statement[^] comment I didn't think it would grow as such. I think I touched a deeply controversial topic in the development world. I then suggested on CodeProject to vote regarding GOTO and they replied on me with this old vote[^]

                    A Offline
                    A Offline
                    Arnav sinha
                    wrote on last edited by
                    #18

                    GOTO HELL

                    S 1 Reply Last reply
                    0
                    • A Arnav sinha

                      GOTO HELL

                      S Offline
                      S Offline
                      Simon_Whale
                      wrote on last edited by
                      #19

                      let it all out :laugh:

                      Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

                      1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        I hate all your insects.

                        The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

                        G Offline
                        G Offline
                        GuyThiebaut
                        wrote on last edited by
                        #20

                        Mornington Crescent! (It's been a while since we have played that)

                        “That which can be asserted without evidence, can be dismissed without evidence.”

                        ― Christopher Hitchens

                        OriginalGriffO 1 Reply Last reply
                        0
                        • G GuyThiebaut

                          Mornington Crescent! (It's been a while since we have played that)

                          “That which can be asserted without evidence, can be dismissed without evidence.”

                          ― Christopher Hitchens

                          OriginalGriffO Offline
                          OriginalGriffO Offline
                          OriginalGriff
                          wrote on last edited by
                          #21

                          It's Thursday, and the rain is light, so we must be playing with Tudor Court Rules then... So, I'll go with Chalk Farm

                          The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                          G 1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            It's Thursday, and the rain is light, so we must be playing with Tudor Court Rules then... So, I'll go with Chalk Farm

                            The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

                            G Offline
                            G Offline
                            GuyThiebaut
                            wrote on last edited by
                            #22

                            OriginalGriff wrote:

                            Tudor Court Rules

                            Aahh! A cunning ruse...

                            “That which can be asserted without evidence, can be dismissed without evidence.”

                            ― Christopher Hitchens

                            1 Reply Last reply
                            0
                            • P Pete OHanlon

                              I hate marmite

                              W Offline
                              W Offline
                              W Balboos GHB
                              wrote on last edited by
                              #23

                              I tried that accursed spew - it is nothing short of foul. What sort of native-cuisine could possible consider its ingestion positive. It's a product of the UK? Oh.

                              "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                              "As far as we know, our computer has never had an undetected error." - Weisert

                              "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                              P 1 Reply Last reply
                              0
                              • W W Balboos GHB

                                I tried that accursed spew - it is nothing short of foul. What sort of native-cuisine could possible consider its ingestion positive. It's a product of the UK? Oh.

                                "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                "As far as we know, our computer has never had an undetected error." - Weisert

                                "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

                                W∴ Balboos wrote:

                                It's a product of the UK? Oh.

                                Strictly speaking, it came from Germany.

                                W 1 Reply Last reply
                                0
                                • P Pete OHanlon

                                  W∴ Balboos wrote:

                                  It's a product of the UK? Oh.

                                  Strictly speaking, it came from Germany.

                                  W Offline
                                  W Offline
                                  W Balboos GHB
                                  wrote on last edited by
                                  #25

                                  What does the Geneva Convention have to say about that? Nothing good, I'll wager. Say. Isn't that war over? German cuisine - another mouthwatering allusion?

                                  "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                  "As far as we know, our computer has never had an undetected error." - Weisert

                                  "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                                  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