Click here to Skip to main content
15,888,113 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Unique function name. Globally. Pin
RugbyLeague22-Dec-15 4:02
RugbyLeague22-Dec-15 4:02 
GeneralRe: Unique function name. Globally. Pin
OriginalGriff1-Jan-16 4:43
mveOriginalGriff1-Jan-16 4:43 
GeneralRe: Unique function name. Globally. Pin
RugbyLeague4-Jan-16 22:42
RugbyLeague4-Jan-16 22:42 
GeneralRe: Unique function name. Globally. Pin
  Forogar  10-Jan-16 9:20
professional  Forogar  10-Jan-16 9:20 
GeneralRe: Unique function name. Globally. Pin
RugbyLeague10-Jan-16 21:14
RugbyLeague10-Jan-16 21:14 
GeneralRe: Unique function name. Globally. Pin
BillW3322-Dec-15 4:26
professionalBillW3322-Dec-15 4:26 
JokeRe: Unique function name. Globally. Pin
Anurag Gandhi22-Dec-15 14:16
professionalAnurag Gandhi22-Dec-15 14:16 
GeneralRe: Unique function name. Globally. Pin
Brisingr Aerowing22-Dec-15 14:42
professionalBrisingr Aerowing22-Dec-15 14:42 
GeneralRe: Unique function name. Globally. Pin
Mycroft Holmes22-Dec-15 16:57
professionalMycroft Holmes22-Dec-15 16:57 
GeneralRe: Unique function name. Globally. Pin
Herbie Mountjoy23-Dec-15 3:12
professionalHerbie Mountjoy23-Dec-15 3:12 
GeneralRe: Unique function name. Globally. Pin
nanovad23-Dec-15 4:52
nanovad23-Dec-15 4:52 
GeneralRe: Unique function name. Globally. Pin
Brady Kelly22-Dec-15 21:27
Brady Kelly22-Dec-15 21:27 
GeneralRe: Unique function name. Globally. Pin
Daniel Pfeffer22-Dec-15 23:41
professionalDaniel Pfeffer22-Dec-15 23:41 
GeneralRe: Unique function name. Globally. Pin
Lutosław23-Dec-15 3:12
Lutosław23-Dec-15 3:12 
JokeRe: Unique function name. Globally. Pin
Sander Rossel22-Dec-15 21:27
professionalSander Rossel22-Dec-15 21:27 
GeneralRe: Unique function name. Globally. Pin
Ed Korsberg23-Dec-15 2:27
Ed Korsberg23-Dec-15 2:27 
GeneralRe: Unique function name. Globally. Pin
Gary Wheeler23-Dec-15 2:48
Gary Wheeler23-Dec-15 2:48 
GeneralRe: Unique function name. Globally. Pin
Lutosław23-Dec-15 3:14
Lutosław23-Dec-15 3:14 
GeneralRe: Unique function name. Globally. Pin
Amarnath S30-Dec-15 19:04
professionalAmarnath S30-Dec-15 19:04 
GeneralI was looking for the Hall of Shame Pin
kmoorevs2-Dec-15 6:13
kmoorevs2-Dec-15 6:13 
Three months ago, we launched a new Azure web application for a client. The application generates around 500 records (or one for every employee) in a particular table every workday. In the main processing page, if a daily record already exists for an employee, the record id was passed in with this code:

C#
intRecID = CShort(Request("current_daily_rec_id").ToString)


The application ran just fine until this morning when all hell broke loose!

I had it fixed and posted within an hour of the first incident, but only after recording over 240 errors! Sigh | :sigh:
"Go forth into the source" - Neal Morse

QuestionRe: I was looking for the Hall of Shame Pin
Brisingr Aerowing4-Dec-15 11:19
professionalBrisingr Aerowing4-Dec-15 11:19 
AnswerRe: I was looking for the Hall of Shame Pin
kmoorevs4-Dec-15 11:39
kmoorevs4-Dec-15 11:39 
GeneralRe: I was looking for the Hall of Shame Pin
Brisingr Aerowing4-Dec-15 15:40
professionalBrisingr Aerowing4-Dec-15 15:40 
AnswerRe: I was looking for the Hall of Shame Pin
Chris Quinn6-Dec-15 23:46
Chris Quinn6-Dec-15 23:46 
GeneralRe: I was looking for the Hall of Shame Pin
Brisingr Aerowing22-Dec-15 14:43
professionalBrisingr Aerowing22-Dec-15 14:43 

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.