• Phil Scott (unregistered)

    What happens if they need to add a parameter? What comes after z? Man, talk about hard to maintain. That's why we have a standard that ensures that a method's first parameter always starts with the letter "a" at my office.

  • Mr. Proofreader (unregistered)

    The code is excusable, but misspelling "specified"? Now he's gone too far.

  • Ron (unregistered)

    That's *awesome

    what kind of 6D surface does it describe? That's what I want to know

  • Kent (unregistered)

    Sweet. That made my day.

    What happens if Amy leaves the company ?

  • Jason Hasner (unregistered)

    "That's why we have a standard that ensures that a method's first parameter always starts with the letter "a" at my office. "

    LOLOLOL!

  • Ben Hutchings (unregistered)

    Process automation through Excel? Just say "aargh! run away!" Besides which, surely most of this could be done through formulae. Is this function supposed to deter tampering with a worksheet through sheer obscurity?

  • Frans Bouma (unregistered)

    I think I found a bug: I miss 42 in the routine: it never sets calculatethenumbers to 42. :P

  • Steve (unregistered)

    "What happens if Amy leaves the company ?"

    I guess they'll have to hire another Amy

  • TheBaldGuy (unregistered)

    What if multiple Amy's exist? There should be a function called GetAllAmysInCompanyAndFindOutWhoToGiveIt2() lol

  • Daniel W. (unregistered)

    If get closer to your monitor, let your eyes go out of focus and stay like that for 30 seconds...

    ...3, 2, 1...
    There you see it!

    It's a 3D image of a T-REX! What a genius this coder was!

  • Peter Hancock (unregistered)

    Actually - the function for multiple Amys would be called YellowToTheSpecifeidAmy()

  • Niels W (unregistered)

    And ofcourse there are no comments at all in the source code right? Like... nowhere in the entire application.
    Gotta love this guy.

  • Ray Suker (unregistered)

    Yeah, this stuff was pure pure 'genius'. I'd love to say that this was the worst of the lot, but it really is just a typical example.

    After a short while sifting through masses and masses of this stuff, I just walked away.

    Niels W - there were actually occasionally comments in the code. Of course, as you'd expect, it was actually commented out code, not actual comments...

  • Mario Goebbels (unregistered)

    Calculating fluid dynamics in Excel. That's a new one!

  • Reagan (unregistered)

    heh - this site is the perfect start to my day.

  • tim (unregistered)

    Ok, this just motivated me. It's time to find some good stuff.. I work with this kind of crap on a daily basis. And NO comments.

  • Eric Newton (unregistered)

    Who needs comments in code like that? I mean its so clear and concise that I'm sure that one guy will understand it two weeks later...

    I got two words for ya...

    JOB SECURITY [its just a myth!]

  • qwerty (unregistered)

    Somehow, after walking through that valley of the shadow of bad code, finally coming to the end and finding the simple, concise statement:

    Beep

    I hit the floor hard and busted my gut laughing.

  • Ian Horwill (unregistered)


    This is the best laugh I've had in ages - the original post is great (I love the "Beep" too) but some of the comments are the best!

  • Reinhard Brongers (unregistered)

    Mmmh, this guy actually practiced the following guidelines:
    http://www.mindprod.com/unmainnaming.html

    Too bad he missed out on:
    Amy = ( superman + starship ) / god;

    (BTW. This site is always a great source for becoming truly unmissable :-) )

  • mauris (unregistered)

    "Pass to Amy tomorrow" - epic

  • Ander (unregistered)

    Of course it it has a DoNothing() function. That's what doit does.

Leave a comment on “calculatethenumbers(v,w,x,y,z)”

Log In or post as a guest

Replying to comment #:

« Return to Article