I love my job
Results 1 to 3 of 3

Thread: I love my job

  1. #1
    THE Bastard Sys***** dinowuff's Avatar
    Join Date
    Jun 2003
    Location
    Third planet from the Sun
    Posts
    1,252

    I love my job

    Enter department head with a broken, home grown, web app.
    Department head speaks:
    "We fired the guy that wrote this two years ago, please fix it"
    Exit department head

    Me opens the source to see whats what.

    below are comments at the top of the asp page.....

    If you think this is funny you should see some of the stored proc's



    '# GLOBAL VARIABLES ############################################################
    I'm sorry that you are stuck looking at this. It is another one of those demo programs that went too far! I should have written down the user requirements, statements, and assumptions and had the user group sign it. Requirements were different depending on the person that you were talking to. Some of the SQL calls are weird as is the the database setup. I was initially told that we need to track history and that layouts are reused. This isn't really true. We want to get the most recent records for most db calls which is done by querying the status that you want and selecting the IsCurrentRecord = 1. Getting a recordset of completed layouts gives you a problem because layout_proj_id = 20 can have version A, B, C, and D all completed this week and the draftsperson has then completed four layouts with a item count of the total * 4. So we select distinct versions for each layout_proj_id and version that match the queried criteria and get the max timestamp...

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    50
    consider it a uh... challenge

    Always sucks to have a project just dumped on you.


    Good luck
    Always happens, I get all worked up to say somthing profound and bam!!! uh... whut were we talkin bout?

  3. #3
    AO Ancient: Team Leader
    Join Date
    Oct 2002
    Posts
    5,197
    Yeah... I feel for you..... I can't recall how many times I have told my boss that the hardest job for a programmer is working through someone elses code no matter how well documented it is.... there's always the issue of the other guy's "logic'..... It ain't always logical....
    Don\'t SYN us.... We\'ll SYN you.....
    \"A nation that draws too broad a difference between its scholars and its warriors will have its thinking done by cowards, and its fighting done by fools.\" - Thucydides

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •