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. The Daily WTF

The Daily WTF

Scheduled Pinned Locked Moved The Lounge
combeta-testingcode-review
10 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
    MS le Roux
    wrote on last edited by
    #1

    Today's[^] is a real prize.

    R L M 3 Replies Last reply
    0
    • M MS le Roux

      Today's[^] is a real prize.

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #2

      :laugh::laugh::laugh: Amazing!:-D "My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City

      1 Reply Last reply
      0
      • M MS le Roux

        Today's[^] is a real prize.

        L Offline
        L Offline
        Luis Alonso Ramos
        wrote on last edited by
        #3

        :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: No way someone could do that... not seriously!! Just amazing!! -- LuisR ___________   Luis Alonso Ramos   Chihuahua, Mexico   www.luisalonsoramos.com

        P E 2 Replies Last reply
        0
        • L Luis Alonso Ramos

          :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: No way someone could do that... not seriously!! Just amazing!! -- LuisR ___________   Luis Alonso Ramos   Chihuahua, Mexico   www.luisalonsoramos.com

          P Offline
          P Offline
          ProffK
          wrote on last edited by
          #4

          The director at my previous company used to say he liked nothing better than walking into a room full of developers and hearin the sound of many keyboards furiously clacking away. I nearly told him in that case he should have hired typists, but I would probably have been discipline for insubordination, or insolence. This was a company where criticising the boss was a disciplinary offence. Maybe this guy was in a similar situation, where lots of idiotic code was considered better than an idol developer. The error messages have a certain cheek to them that supports this theory. My blog.

          D 1 Reply Last reply
          0
          • P ProffK

            The director at my previous company used to say he liked nothing better than walking into a room full of developers and hearin the sound of many keyboards furiously clacking away. I nearly told him in that case he should have hired typists, but I would probably have been discipline for insubordination, or insolence. This was a company where criticising the boss was a disciplinary offence. Maybe this guy was in a similar situation, where lots of idiotic code was considered better than an idol developer. The error messages have a certain cheek to them that supports this theory. My blog.

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

            ProffK wrote: criticising the boss was a disciplinary offence. Speaking from a legal point of view, saying that the boss is an idiot and saying that you think that the boss is an idiot are two different things. The former can bring charges of slander and defamation against you while the latter is nothing more than your opinion.


            "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

            P 1 Reply Last reply
            0
            • L Luis Alonso Ramos

              :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: No way someone could do that... not seriously!! Just amazing!! -- LuisR ___________   Luis Alonso Ramos   Chihuahua, Mexico   www.luisalonsoramos.com

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

              unfortunately, yes, they could. I took over a project here that had a bug no one could find. I took one look at the code and requested to rewrite it. Everything, and I do mean EVERYTHING was in main() and any duplicate operations were handled by cut and past and changing variable names. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

              A 1 Reply Last reply
              0
              • D David Crow

                ProffK wrote: criticising the boss was a disciplinary offence. Speaking from a legal point of view, saying that the boss is an idiot and saying that you think that the boss is an idiot are two different things. The former can bring charges of slander and defamation against you while the latter is nothing more than your opinion.


                "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

                P Offline
                P Offline
                ProffK
                wrote on last edited by
                #7

                He threatened to fire people for saying the didn't like the way he does stuff, never mind name calling. My blog.

                1 Reply Last reply
                0
                • E El Corazon

                  unfortunately, yes, they could. I took over a project here that had a bug no one could find. I took one look at the code and requested to rewrite it. Everything, and I do mean EVERYTHING was in main() and any duplicate operations were handled by cut and past and changing variable names. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                  A Offline
                  A Offline
                  Allen Anderson
                  wrote on last edited by
                  #8

                  I once had to work on a program where there were about 380 or so classes and they were all inherited at various levels down into one single ultra master class. Some inheritance went 20 levels deep. Was the most insane thing to debug I've ever seen. And the problem was that the project was so massive we couldn't just 'rewrite' it.

                  E 1 Reply Last reply
                  0
                  • A Allen Anderson

                    I once had to work on a program where there were about 380 or so classes and they were all inherited at various levels down into one single ultra master class. Some inheritance went 20 levels deep. Was the most insane thing to debug I've ever seen. And the problem was that the project was so massive we couldn't just 'rewrite' it.

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

                    And the problem was that the project was so massive we couldn't just 'rewrite' it. and in our case, I was refused permission to rewrite it, because "to rewrite it would be admitting it was written wrong in the first place. That would be a contract failure." However, somehow, during the long debugging failure things got organized a little.... edit: I mean debugging "process" or was that a freudian slip?? :( _________________________ 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
                    • M MS le Roux

                      Today's[^] is a real prize.

                      M Offline
                      M Offline
                      Member 96
                      wrote on last edited by
                      #10

                      I'm pretty sure it's fake, or at least crashes regularly, the author is testing for null after a bunch of other tests, wouldn't it throw an exception or whatever vb does when you tried to find the length of a null string? I think most of those are fake on that site judging by the code, fake or embellished a *lot* because most of them wouldn't run and the poster always says it was taken from "production" code.


                      An election is nothing more than the advanced auction of stolen goods. - Ambrose Bierce

                      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