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. Is it just me

Is it just me

Scheduled Pinned Locked Moved The Lounge
csharpwpfcomquestion
55 Posts 22 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.
  • J Josh Smith

    or does looking at really stupid code make you feel sick to your stomach, too? X|

    :josh: My WPF Blog[^]

    J Offline
    J Offline
    Jim Crafton
    wrote on last edited by
    #4

    Oooh, ooh, post the code! Post the code! :) That way we can share your pain :)

    ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

    J 1 Reply Last reply
    0
    • J Jim Crafton

      Oooh, ooh, post the code! Post the code! :) That way we can share your pain :)

      ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

      J Offline
      J Offline
      Josh Smith
      wrote on last edited by
      #5

      Jim Crafton wrote:

      Oooh, ooh, post the code! Post the code!

      I can't. I don't want to violate my NDA! :~ General gist:

      class TextReederHelper
      {
      int i;
      int ii = 72;
      public TextReederHelper()
      {
      //ii = -12;
      //ii = -12;
      ii = -12;
      }

      public int AddValuesIntegerlly( int i, int ii )
      {
      if( i < ii ) return i + ii;
      return i + ii; }
      }

      Holy Bunghole, I'm gonna heave! :wtf:

      :josh: My WPF Blog[^]

      D J V 3 Replies Last reply
      0
      • J Josh Smith

        Jim Crafton wrote:

        Oooh, ooh, post the code! Post the code!

        I can't. I don't want to violate my NDA! :~ General gist:

        class TextReederHelper
        {
        int i;
        int ii = 72;
        public TextReederHelper()
        {
        //ii = -12;
        //ii = -12;
        ii = -12;
        }

        public int AddValuesIntegerlly( int i, int ii )
        {
        if( i < ii ) return i + ii;
        return i + ii; }
        }

        Holy Bunghole, I'm gonna heave! :wtf:

        :josh: My WPF Blog[^]

        D Offline
        D Offline
        dighn
        wrote on last edited by
        #6

        WTF

        J 1 Reply Last reply
        0
        • J Josh Smith

          or does looking at really stupid code make you feel sick to your stomach, too? X|

          :josh: My WPF Blog[^]

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

          Josh Smith wrote:

          or does looking at really stupid code make you feel sick to your stomach, too?

          I can see the white paper now.... The study of Neural Receivers and the observation of Redundant source code and its relationship to upset tummies.

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

          J 1 Reply Last reply
          0
          • D dighn

            WTF

            J Offline
            J Offline
            Josh Smith
            wrote on last edited by
            #8

            dighn wrote:

            WTF

            I don't currently work with code that bad, but I have seen production code of that "quality" level. I kid you not. In fact, someone very near and dear to me works with code just like that (that person didn't write it, but maintains it). I'm not saying that some of the code I see at work isn't close to that level, though. Some people just don't know what-the-F they're doing. Seriously.

            :josh: My WPF Blog[^]

            1 Reply Last reply
            0
            • E El Corazon

              Josh Smith wrote:

              or does looking at really stupid code make you feel sick to your stomach, too?

              I can see the white paper now.... The study of Neural Receivers and the observation of Redundant source code and its relationship to upset tummies.

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

              J Offline
              J Offline
              Josh Smith
              wrote on last edited by
              #9

              Jeffry J. Brickley wrote:

              The study of Neural Receivers and the observation of Redundant source code and its relationship to upset tummies.

              hehehe. Yeah, the cure Tums with Refactoring.

              :josh: My WPF Blog[^]

              W 1 Reply Last reply
              0
              • J Josh Smith

                Jim Crafton wrote:

                Oooh, ooh, post the code! Post the code!

                I can't. I don't want to violate my NDA! :~ General gist:

                class TextReederHelper
                {
                int i;
                int ii = 72;
                public TextReederHelper()
                {
                //ii = -12;
                //ii = -12;
                ii = -12;
                }

                public int AddValuesIntegerlly( int i, int ii )
                {
                if( i < ii ) return i + ii;
                return i + ii; }
                }

                Holy Bunghole, I'm gonna heave! :wtf:

                :josh: My WPF Blog[^]

                J Offline
                J Offline
                Jim Crafton
                wrote on last edited by
                #10

                That's just sad... I've seen the following: (verbatim quote from Java)

                String s = new Object();

                This was checked into source code as part of the individual's assigned programming work. Sadly there were more golden nuggets like this, but I always remembered this one. I believe part of his problem was that he spent WAY too much time day trading...

                ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                J 1 Reply Last reply
                0
                • J Jim Crafton

                  That's just sad... I've seen the following: (verbatim quote from Java)

                  String s = new Object();

                  This was checked into source code as part of the individual's assigned programming work. Sadly there were more golden nuggets like this, but I always remembered this one. I believe part of his problem was that he spent WAY too much time day trading...

                  ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                  J Offline
                  J Offline
                  Judah Gabriel Himango
                  wrote on last edited by
                  #11

                  Jim Crafton wrote:

                  String s = new Object();

                  How the heck does that compile? Are you sure it wasn't:

                  String s = (String)new Object();

                  ? Or did this student dare not attempt to compile? ;P

                  Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                  J 1 Reply Last reply
                  0
                  • J Josh Smith

                    Jeffry J. Brickley wrote:

                    The study of Neural Receivers and the observation of Redundant source code and its relationship to upset tummies.

                    hehehe. Yeah, the cure Tums with Refactoring.

                    :josh: My WPF Blog[^]

                    W Offline
                    W Offline
                    WillemM
                    wrote on last edited by
                    #12

                    Asperine v3.0 ;P The version number is there to differentiate from the normal Asperine.

                    WM.
                    What about weapons of mass-construction?

                    1 Reply Last reply
                    0
                    • J Judah Gabriel Himango

                      Jim Crafton wrote:

                      String s = new Object();

                      How the heck does that compile? Are you sure it wasn't:

                      String s = (String)new Object();

                      ? Or did this student dare not attempt to compile? ;P

                      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                      J Offline
                      J Offline
                      Jim Crafton
                      wrote on last edited by
                      #13

                      No, this little gem was written by a Java "professional" consultant, working for an unnamed consulting firm (you'd probably recognize the firm), who was being billed out at around $180/hour to an unnamed client. It did in fact break the build, and I was less than thrilled to find it, since I was the project lead for that group and he was on my team. We exchanged words.

                      ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                      J J 2 Replies Last reply
                      0
                      • J Josh Smith

                        or does looking at really stupid code make you feel sick to your stomach, too? X|

                        :josh: My WPF Blog[^]

                        C Offline
                        C Offline
                        Christopher Duncan
                        wrote on last edited by
                        #14

                        I once saw a routine from a junior level programmer (though not to read the 14 degrees and certifications on his resume) that was a replacement for atoi() because he didn't realize it existed. What's even better is that the routine (a couple of screens long) had errors on almost every single line. Really. My only regret is not having printed it out so that I could frame it. No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more. :-D

                        Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com

                        J J J C J 5 Replies Last reply
                        0
                        • J Jim Crafton

                          No, this little gem was written by a Java "professional" consultant, working for an unnamed consulting firm (you'd probably recognize the firm), who was being billed out at around $180/hour to an unnamed client. It did in fact break the build, and I was less than thrilled to find it, since I was the project lead for that group and he was on my team. We exchanged words.

                          ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                          J Offline
                          J Offline
                          Judah Gabriel Himango
                          wrote on last edited by
                          #15

                          Jim Crafton wrote:

                          No, this little gem was written by a Java "professional" consultant, working for an unnamed consulting firm (you'd probably recognize the firm), who was being billed out at around $180/hour to an unnamed client.

                          jeez that's cringingly bad. Wow.

                          Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                          1 Reply Last reply
                          0
                          • C Christopher Duncan

                            I once saw a routine from a junior level programmer (though not to read the 14 degrees and certifications on his resume) that was a replacement for atoi() because he didn't realize it existed. What's even better is that the routine (a couple of screens long) had errors on almost every single line. Really. My only regret is not having printed it out so that I could frame it. No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more. :-D

                            Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com

                            J Offline
                            J Offline
                            Josh Smith
                            wrote on last edited by
                            #16

                            Christopher Duncan wrote:

                            No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more.

                            Lucky dog. If I ever were to work in a shop with the programmer you described, I'd need to keep a barf bag fastened to my face all day.

                            :josh: My WPF Blog[^]

                            1 Reply Last reply
                            0
                            • C Christopher Duncan

                              I once saw a routine from a junior level programmer (though not to read the 14 degrees and certifications on his resume) that was a replacement for atoi() because he didn't realize it existed. What's even better is that the routine (a couple of screens long) had errors on almost every single line. Really. My only regret is not having printed it out so that I could frame it. No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more. :-D

                              Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com

                              J Offline
                              J Offline
                              Jeremy Falcon
                              wrote on last edited by
                              #17

                              Christopher Duncan wrote:

                              atoi()

                              How do other people pronounce that? Right or wrong, I've gotten used to saying something along the lines of "a-toy" rather than "a-to-i" over the years. I must admit I've gotten some odd looks before. :laugh:

                              Jeremy Falcon

                              S Q M T J 5 Replies Last reply
                              0
                              • J Jim Crafton

                                No, this little gem was written by a Java "professional" consultant, working for an unnamed consulting firm (you'd probably recognize the firm), who was being billed out at around $180/hour to an unnamed client. It did in fact break the build, and I was less than thrilled to find it, since I was the project lead for that group and he was on my team. We exchanged words.

                                ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                                J Offline
                                J Offline
                                Jeremy Falcon
                                wrote on last edited by
                                #18

                                Jim Crafton wrote:

                                No, this little gem was written by a Java "professional" consultant, working for an unnamed consulting firm (you'd probably recognize the firm), who was being billed out at around $180/hour to an unnamed client.

                                Because usually the people that make those decisions are pay that much haven't a clue as to anything about programming. It's how they present themselves that matter, not whether or not they are actually good at programming. Sad really.

                                Jeremy Falcon

                                1 Reply Last reply
                                0
                                • J Josh Smith

                                  srt123 wrote:

                                  It's only you

                                  I doubt it. That was a rhetorical question. ;)

                                  :josh: My WPF Blog[^]

                                  J Offline
                                  J Offline
                                  Jeremy Falcon
                                  wrote on last edited by
                                  #19

                                  No really, it's only you. ;P

                                  Jeremy Falcon

                                  J 1 Reply Last reply
                                  0
                                  • J Jeremy Falcon

                                    Christopher Duncan wrote:

                                    atoi()

                                    How do other people pronounce that? Right or wrong, I've gotten used to saying something along the lines of "a-toy" rather than "a-to-i" over the years. I must admit I've gotten some odd looks before. :laugh:

                                    Jeremy Falcon

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

                                    Jeremy Falcon wrote:

                                    How do other people pronounce that?

                                    Ah-too-y - like a non-productive sneeze.

                                    ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

                                    J 1 Reply Last reply
                                    0
                                    • S Shog9 0

                                      Jeremy Falcon wrote:

                                      How do other people pronounce that?

                                      Ah-too-y - like a non-productive sneeze.

                                      ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

                                      J Offline
                                      J Offline
                                      Jeremy Falcon
                                      wrote on last edited by
                                      #21

                                      Shog9 wrote:

                                      like a non-productive sneeze.

                                      :laugh:

                                      Jeremy Falcon

                                      1 Reply Last reply
                                      0
                                      • J Josh Smith

                                        or does looking at really stupid code make you feel sick to your stomach, too? X|

                                        :josh: My WPF Blog[^]

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

                                        Only when i think i'll be needing to make changes to it. Funny, i was just talking to a co-worker about this very subject earlier. A few years back, we came close to absorbing the care and feeding of a product we'd obtained along with the small company that created it. Too many VB files to count, each one a form, each form stuffed with all the DB access code (including hard-coded IDs, indexes, and actual data) required to make it work. Scary, ugly, sickening stuff.

                                        ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

                                        J 1 Reply Last reply
                                        0
                                        • C Christopher Duncan

                                          I once saw a routine from a junior level programmer (though not to read the 14 degrees and certifications on his resume) that was a replacement for atoi() because he didn't realize it existed. What's even better is that the routine (a couple of screens long) had errors on almost every single line. Really. My only regret is not having printed it out so that I could frame it. No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more. :-D

                                          Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com

                                          J Offline
                                          J Offline
                                          Jim Crafton
                                          wrote on last edited by
                                          #23

                                          Christopher Duncan wrote:

                                          It makes me feel like an experienced programmer who should be charging more.

                                          Spoken like a true consultant! :) When I started at the consulting firm I used to work at, my project boss walked up to me, took my hand in a hearty handshake, and said, with a big shit-eating-grin on his face, "Welcome to the worlds second oldest profession." I always thought that was funny :)

                                          ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                                          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