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. Other Discussions
  3. The Weird and The Wonderful
  4. This is pretty special.

This is pretty special.

Scheduled Pinned Locked Moved The Weird and The Wonderful
phpcomhelp
9 Posts 8 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.
  • M Offline
    M Offline
    Mel Padden
    wrote on last edited by
    #1

    if (currentRadioButton.Checked == false) return;
    {
    ViewManager.ShowOutputForm(this.ParentForm.MdiParent, eOutputForm);
    InitRiskReturnToolWindow(m_eMode);
    }

    Doesn't actually cause an error, but the GALL of someone to leave that in MY codebase....:mad::mad::mad::mad::mad:

    Smokie, this is not 'Nam. This is bowling. There are rules. http://melpadden.wordpress.com

    Q B B R J 5 Replies Last reply
    0
    • M Mel Padden

      if (currentRadioButton.Checked == false) return;
      {
      ViewManager.ShowOutputForm(this.ParentForm.MdiParent, eOutputForm);
      InitRiskReturnToolWindow(m_eMode);
      }

      Doesn't actually cause an error, but the GALL of someone to leave that in MY codebase....:mad::mad::mad::mad::mad:

      Smokie, this is not 'Nam. This is bowling. There are rules. http://melpadden.wordpress.com

      Q Offline
      Q Offline
      QuiJohn
      wrote on last edited by
      #2

      My eyes slipped right by the "return" at first. That's just... unnatural.

      M 1 Reply Last reply
      0
      • Q QuiJohn

        My eyes slipped right by the "return" at first. That's just... unnatural.

        M Offline
        M Offline
        Mel Padden
        wrote on last edited by
        #3

        I know. Look forward to more of these from me over the next few months as I wrest this codebase into something resembling a proper application....

        Smokie, this is not 'Nam. This is bowling. There are rules. http://melpadden.wordpress.com

        1 Reply Last reply
        0
        • M Mel Padden

          if (currentRadioButton.Checked == false) return;
          {
          ViewManager.ShowOutputForm(this.ParentForm.MdiParent, eOutputForm);
          InitRiskReturnToolWindow(m_eMode);
          }

          Doesn't actually cause an error, but the GALL of someone to leave that in MY codebase....:mad::mad::mad::mad::mad:

          Smokie, this is not 'Nam. This is bowling. There are rules. http://melpadden.wordpress.com

          B Offline
          B Offline
          Bernhard Hiller
          wrote on last edited by
          #4

          Wow! That's something really new here! A very nice way to obfuscate code.

          A 1 Reply Last reply
          0
          • B Bernhard Hiller

            Wow! That's something really new here! A very nice way to obfuscate code.

            A Offline
            A Offline
            Abinash Bishoyi
            wrote on last edited by
            #5

            I'm always in search for obfuscate code.

            1 Reply Last reply
            0
            • M Mel Padden

              if (currentRadioButton.Checked == false) return;
              {
              ViewManager.ShowOutputForm(this.ParentForm.MdiParent, eOutputForm);
              InitRiskReturnToolWindow(m_eMode);
              }

              Doesn't actually cause an error, but the GALL of someone to leave that in MY codebase....:mad::mad::mad::mad::mad:

              Smokie, this is not 'Nam. This is bowling. There are rules. http://melpadden.wordpress.com

              B Offline
              B Offline
              BobJanova
              wrote on last edited by
              #6

              I read it once and was like 'Huh, what's the problem?'. And then I saw it. That's the sign of a true horror. I don't think this even gives a warning in C# because the if is fully formed and bracing for scope is fine.

              F 1 Reply Last reply
              0
              • B BobJanova

                I read it once and was like 'Huh, what's the problem?'. And then I saw it. That's the sign of a true horror. I don't think this even gives a warning in C# because the if is fully formed and bracing for scope is fine.

                F Offline
                F Offline
                Firo Atrum Ventus
                wrote on last edited by
                #7

                BobJanova wrote:

                That's the sign of a true horrorprankster.

                FTFY

                Oxfords English < Official CCC Players Dictionary Excuse me for my improper grammar and typos. It's because English is my primary language, not my first language. My first languages are C# and Java. VB, ASP, JS, PHP and SQL are my second language. Indonesian came as my third language. My fourth language? I'm still creating it, I'll let you know when it's done! :-D

                1 Reply Last reply
                0
                • M Mel Padden

                  if (currentRadioButton.Checked == false) return;
                  {
                  ViewManager.ShowOutputForm(this.ParentForm.MdiParent, eOutputForm);
                  InitRiskReturnToolWindow(m_eMode);
                  }

                  Doesn't actually cause an error, but the GALL of someone to leave that in MY codebase....:mad::mad::mad::mad::mad:

                  Smokie, this is not 'Nam. This is bowling. There are rules. http://melpadden.wordpress.com

                  R Offline
                  R Offline
                  Reiss
                  wrote on last edited by
                  #8

                  This is one of the reasons why I always brace single line if statements - it is too easy to miss what is happening especially if someone or something (code prettifiers etc) mangle the code like you have found.

                  1 Reply Last reply
                  0
                  • M Mel Padden

                    if (currentRadioButton.Checked == false) return;
                    {
                    ViewManager.ShowOutputForm(this.ParentForm.MdiParent, eOutputForm);
                    InitRiskReturnToolWindow(m_eMode);
                    }

                    Doesn't actually cause an error, but the GALL of someone to leave that in MY codebase....:mad::mad::mad::mad::mad:

                    Smokie, this is not 'Nam. This is bowling. There are rules. http://melpadden.wordpress.com

                    J Offline
                    J Offline
                    JackDingler
                    wrote on last edited by
                    #9

                    That is a work of art! :laugh: :laugh:

                    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