ComedyCode.com
Home Categories Languages Random New Popular Links
Search 

Share This Code!
Send this code to a friend!

ComedyCode of the Week
Check out this week's highlighted snippet!

New Here?
Create an account and become a ComedyCoder today!




May 13, 2008

A Programmer's Reference for Excuses

Private Function getProgrammerExcuse() As String

 Dim myExcuses(1 to 21) As String

 myExcuses(1) =  "That's Weird...",
 myExcuses(2) = 	"It's never done that before.",
 myExcuses(3) = 	"It worked yesterday.",
 myExcuses(4) = 	"How is that possible?",
 myExcuses(5) = 	"It must have a hardware problem.",
 myExcuses(6) = 	"What did you type in wrong to get it to crash." ,
 myExcuses(7) = 	"There is something funky in your data",
 myExcuses(8) = 	"I haven't touched that module in weeks!" ,
 myExcuses(9) = 	"You must have wrong version.",
 myExcuses(10) = 	"It's just some unlucky coincidence." ,
 myExcuses(11) = 	"I can't test everything!",
 myExcuses(12) = 	"THIS can't be the source of THAT." ,
 myExcuses(13) = 	"It works, but it's not been tested." ,
 myExcuses(14) = 	"Somebody must have changed my code.",
 myExcuses(15) = 	"Did you check for a virus on your system?",
 myExcuses(16) = 	"Even though it doesn't work, how does it feel? ,
 myExcuses(17) = 	"You can't use that version on your system.",
 myExcuses(18) = 	"Why do you want to do it that way?",
 myExcuses(19) = 	"Where were you when the program blew up?",
 myExcuses(20) = 	"I thought I fixed that.",
 myExcuses(21) = 	"This is not a bug,it's undocumented feature."

 Dim randomChoice As New Random(UBound(myExcuses))
 Dim iRandomChoice As Integer = randomChoice.Next()

 Return myExcuses(iRandomChoice)

End Function


Coded by: Bump in the Night (9)
View other ComedyCode by this comedycoder.
Send this comedycoder a message.
Submitted on: January 9, 2002
Category: Programming
Show me more Programming snippets.
Programming language: Visual Basic
Show me more Visual Basic snippets.
Viewed by: 5912 unique visitors


Ratings & Comments

The following ratings and comments have been submitted about this code:

Rating: Funny

Tee hee!

By: Joe Smythe


Rating: Funny

By: cruelpredator


» Submit Code
» Login

Rate This Code!

Login or create an account.




Copyright © 2001-2004 - N-VisionIT Interactive
Website Design, Development & Hosting by N-VisionIT Interactive