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. Whoever designed the CodeDOM should be forced to use it

Whoever designed the CodeDOM should be forced to use it

Scheduled Pinned Locked Moved The Lounge
performance
20 Posts 10 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.
  • H honey the codewitch

    Hahaha Lick my boot! :laugh: :laugh: :laugh:

    Real programmers use butterflies

    D Offline
    D Offline
    David ONeil
    wrote on last edited by
    #6

    (Shouldn't it have been 'bootstrap'?)

    The forgotten roots of science | C++ Programming | DWinLib

    Greg UtasG 1 Reply Last reply
    0
    • H honey the codewitch

      If does have goto, and i'm seriously considering it at this point

      Real programmers use butterflies

      B Offline
      B Offline
      Brady Kelly
      wrote on last edited by
      #7

      Well, when there's a reason, and it's thought out properly, there's nothing wrong with a goto.

      "'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself." —Aleister Crowley

      H O 2 Replies Last reply
      0
      • B Brady Kelly

        Well, when there's a reason, and it's thought out properly, there's nothing wrong with a goto.

        "'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself." —Aleister Crowley

        H Offline
        H Offline
        honey the codewitch
        wrote on last edited by
        #8

        I think the reason would hopefully be better than "someone at microsoft slacked off"

        Real programmers use butterflies

        1 Reply Last reply
        0
        • H honey the codewitch

          Now I have to restructure some performance critical code entirely because of the lack "break" statement. I'm angry at their lack of effort.

          Real programmers use butterflies

          M Offline
          M Offline
          Mark_Wallace
          wrote on last edited by
          #9

          You could be starting a trend, here: Whoever designed AnnoyingProduct should be forced to use it I can think of several values for AnnoyingProduct, without even putting my mind to it

          I wanna be a eunuchs developer! Pass me a bread knife!

          H J 2 Replies Last reply
          0
          • M Mark_Wallace

            You could be starting a trend, here: Whoever designed AnnoyingProduct should be forced to use it I can think of several values for AnnoyingProduct, without even putting my mind to it

            I wanna be a eunuchs developer! Pass me a bread knife!

            H Offline
            H Offline
            honey the codewitch
            wrote on last edited by
            #10

            It's a good principle, IMO. :-D

            Real programmers use butterflies

            1 Reply Last reply
            0
            • M Mark_Wallace

              You could be starting a trend, here: Whoever designed AnnoyingProduct should be forced to use it I can think of several values for AnnoyingProduct, without even putting my mind to it

              I wanna be a eunuchs developer! Pass me a bread knife!

              J Offline
              J Offline
              Jorgen Andersson
              wrote on last edited by
              #11

              Eating your own dog food - Wikipedia[^]

              Wrong is evil and must be defeated. - Jeff Ello

              M 1 Reply Last reply
              0
              • Greg UtasG Greg Utas

                If it had a break statement, it would probably follow C++ and overload it. :mad: But surely it has...you know...goto. :laugh:

                CPalliniC Offline
                CPalliniC Offline
                CPallini
                wrote on last edited by
                #12

                You cannot overload the break statement in C++.

                In testa che avete, signor di Ceprano?

                Greg UtasG 1 Reply Last reply
                0
                • H honey the codewitch

                  Now I have to restructure some performance critical code entirely because of the lack "break" statement. I'm angry at their lack of effort.

                  Real programmers use butterflies

                  Sander RosselS Offline
                  Sander RosselS Offline
                  Sander Rossel
                  wrote on last edited by
                  #13

                  You could almost say it... Broke your code! Ba dum tish! :D

                  Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                  1 Reply Last reply
                  0
                  • J Jorgen Andersson

                    Eating your own dog food - Wikipedia[^]

                    Wrong is evil and must be defeated. - Jeff Ello

                    M Offline
                    M Offline
                    Mark_Wallace
                    wrote on last edited by
                    #14

                    Jörgen Andersson wrote:

                    Eating your own dog food - Wikipedia[^]

                    Nice! It links to some fun articles, too.

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    1 Reply Last reply
                    0
                    • H honey the codewitch

                      If does have goto, and i'm seriously considering it at this point

                      Real programmers use butterflies

                      Richard DeemingR Offline
                      Richard DeemingR Offline
                      Richard Deeming
                      wrote on last edited by
                      #15

                      Do it. break is just a thinly-disguised goto anyway. :) Here's an article from 2007 with some alternatives for the unsupported features: CodeDom Assistant[^]


                      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                      H 1 Reply Last reply
                      0
                      • CPalliniC CPallini

                        You cannot overload the break statement in C++.

                        Greg UtasG Offline
                        Greg UtasG Offline
                        Greg Utas
                        wrote on last edited by
                        #16

                        What I meant was that C++ overloads break itself, although I suppose this can be debated. But it's annoying not to be able to exit a loop using break when inside a switch statement that's embedded within that loop.

                        <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                        <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                        CPalliniC 1 Reply Last reply
                        0
                        • Richard DeemingR Richard Deeming

                          Do it. break is just a thinly-disguised goto anyway. :) Here's an article from 2007 with some alternatives for the unsupported features: CodeDom Assistant[^]


                          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                          H Offline
                          H Offline
                          honey the codewitch
                          wrote on last edited by
                          #17

                          Thanks but I've got codedom assist covered (CodeDOM Go Kit: The CodeDOM is Dead, Long Live the CodeDOM)[^]

                          Real programmers use butterflies

                          1 Reply Last reply
                          0
                          • Greg UtasG Greg Utas

                            What I meant was that C++ overloads break itself, although I suppose this can be debated. But it's annoying not to be able to exit a loop using break when inside a switch statement that's embedded within that loop.

                            CPalliniC Offline
                            CPalliniC Offline
                            CPallini
                            wrote on last edited by
                            #18

                            OK, now I got it. I think I've used the break statement millions times without ever considering its 'double' nature (I mean, I knew and eccepted it blindly)! :) Thank you for the explanation.

                            In testa che avete, signor di Ceprano?

                            1 Reply Last reply
                            0
                            • D David ONeil

                              (Shouldn't it have been 'bootstrap'?)

                              The forgotten roots of science | C++ Programming | DWinLib

                              Greg UtasG Offline
                              Greg UtasG Offline
                              Greg Utas
                              wrote on last edited by
                              #19

                              Or maybe "reboot"!

                              <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                              <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                              1 Reply Last reply
                              0
                              • B Brady Kelly

                                Well, when there's a reason, and it's thought out properly, there's nothing wrong with a goto.

                                "'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself." —Aleister Crowley

                                O Offline
                                O Offline
                                obermd
                                wrote on last edited by
                                #20

                                Brady Kelly wrote:

                                Well, when there's a reason, and it's thought out properly, there's nothing wrong with a goto.

                                Just document what the goto is in there for. Even Dykstra said goto has a place.

                                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