Click here to Skip to main content
15,893,161 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
Ernst Iliov Stavro Blofeld28-Jan-14 10:01
Ernst Iliov Stavro Blofeld28-Jan-14 10:01 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
Gary Wheeler29-Jan-14 0:14
Gary Wheeler29-Jan-14 0:14 
JokeRe: Maybe you guys can laugh at this... I still cannot. Pin
Richard C Bishop28-Jan-14 11:07
professionalRichard C Bishop28-Jan-14 11:07 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
Joe Woodbury28-Jan-14 12:00
professionalJoe Woodbury28-Jan-14 12:00 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
Dan Neely29-Jan-14 2:48
Dan Neely29-Jan-14 2:48 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
BrainiacV29-Jan-14 7:38
BrainiacV29-Jan-14 7:38 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
KP Lee29-Jan-14 10:24
KP Lee29-Jan-14 10:24 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
BrainiacV29-Jan-14 10:58
BrainiacV29-Jan-14 10:58 
KP Lee wrote:
the programmer would have to test his own code
That reminds me of another horror story.

The team I was with worked under my Former Bitch Supervisor from Helltm and we were under deadline. A coworker announced he is going to take some vacation time and my module was dependent on code he was working on. He gave me a copy late in the day, says he had tested it, and disappears for two weeks.

The next day I drop it into my code and it GPFs immediately. I start looking into the code and find the most crapped up mess I had ever seen outside of the POS we were working on to clean up. (He could have been on the original team for all the similarity) I took a machete to it and reduced it to 1/3rd of the original size. It was obvious he had gotten lost in all his redundancies. It was also obvious I was not going to make the schedule because I not only had to work on my code, but I had to rewrite his. I normally would have tried to cover for him, but the FBSfH was having none of it.

In the end, I left only one subroutine intact. A) because it was the only one that worked and B) I wanted something to point to to indicate his normal coding style. What did the subroutine do? It centered a string to be displayed on an 80 column screen. How did he do that? Instead of subtracting the length of the string from 80 and then dividing the remainder by 2 to determine the number of leading spaces to print before the string, he instead created a buffer of 80 characters that he filled with spaces. And then at the beginning of the buffer, he inserted the string. He then counted the spaces from the beginning of the line and then counted the spaces from the end of the line and compared the counts. If the count in front was less than the count in back, he'd move the entire buffer one space over and add a space to the front....and start counting again. Such methodology had to be preserved, damn the lost cycles. D'Oh! | :doh:

So when he came back from vacation, I brought him into my cube and showed him what I had done to his code. When I displayed the code, he said, "Yeah, that's my code." I couldn't believe he didn't see the differences. So I explained how our peerless leader was pissed and when he saw her later that day that he had better take a tube of KY jelly with him because she was going to ream him royally.
Psychosis at 10
Film at 11

Those who do not remember the past, are doomed to repeat it.
Those who do not remember the past, cannot build upon it.

GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
KP Lee29-Jan-14 13:32
KP Lee29-Jan-14 13:32 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
BrainiacV30-Jan-14 4:14
BrainiacV30-Jan-14 4:14 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
KP Lee30-Jan-14 9:46
KP Lee30-Jan-14 9:46 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
SoMad28-Jan-14 17:49
professionalSoMad28-Jan-14 17:49 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
sir_download_alot28-Jan-14 20:45
professionalsir_download_alot28-Jan-14 20:45 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
Herbie Mountjoy28-Jan-14 21:15
professionalHerbie Mountjoy28-Jan-14 21:15 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
glennPattonWork328-Jan-14 21:54
professionalglennPattonWork328-Jan-14 21:54 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
grralph129-Jan-14 2:14
grralph129-Jan-14 2:14 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
Dan Neely29-Jan-14 2:38
Dan Neely29-Jan-14 2:38 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
Alexander DiMauro29-Jan-14 3:32
Alexander DiMauro29-Jan-14 3:32 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
Sharon Freas29-Jan-14 3:49
Sharon Freas29-Jan-14 3:49 
Generalan honest comment Pin
etkid8429-Jan-14 5:04
etkid8429-Jan-14 5:04 
GeneralRe: an honest comment Pin
mgoad9929-Jan-14 5:12
mgoad9929-Jan-14 5:12 
GeneralRe: an honest comment Pin
etkid8429-Jan-14 5:17
etkid8429-Jan-14 5:17 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
RafagaX29-Jan-14 5:43
professionalRafagaX29-Jan-14 5:43 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
bkebamc29-Jan-14 6:00
bkebamc29-Jan-14 6:00 
GeneralRe: Maybe you guys can laugh at this... I still cannot. Pin
rjmoses29-Jan-14 6:02
professionalrjmoses29-Jan-14 6:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.