Click here to Skip to main content
15,889,704 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: Whew PinPopular
Richard A. Dalton22-Sep-10 15:47
Richard A. Dalton22-Sep-10 15:47 
GeneralRe: Whew Pin
Gary Wheeler29-Sep-10 0:38
Gary Wheeler29-Sep-10 0:38 
GeneralRe: Whew Pin
Richard A. Dalton29-Sep-10 0:48
Richard A. Dalton29-Sep-10 0:48 
GeneralWriting to a Text File 101 Pin
QuiJohn17-Sep-10 4:23
QuiJohn17-Sep-10 4:23 
GeneralRe: Writing to a Text File 101 Pin
AspDotNetDev17-Sep-10 5:14
protectorAspDotNetDev17-Sep-10 5:14 
GeneralRe: Writing to a Text File 101 Pin
QuiJohn17-Sep-10 5:19
QuiJohn17-Sep-10 5:19 
GeneralRe: Writing to a Text File 101 Pin
RugbyLeague17-Sep-10 5:46
RugbyLeague17-Sep-10 5:46 
GeneralRe: Writing to a Text File 101 Pin
Daniel 'Tak' M.17-Sep-10 6:17
Daniel 'Tak' M.17-Sep-10 6:17 
Such constructs aren't so rare... in a company I worked years ago, we had to import lots of different file formats, and I'd say, 50% of them used a similar "design". Not to mention that our fantastic database also almost worked like that - yay! No wonder that company doesn't exist anymore.
GeneralRe: Writing to a Text File 101 Pin
Tom Chantler20-Sep-10 2:44
professionalTom Chantler20-Sep-10 2:44 
GeneralRe: Writing to a Text File 101 Pin
CDP180220-Sep-10 3:19
CDP180220-Sep-10 3:19 
GeneralRe: Writing to a Text File 101 Pin
Tom Chantler20-Sep-10 3:48
professionalTom Chantler20-Sep-10 3:48 
GeneralRe: Writing to a Text File 101 Pin
Momony20-Sep-10 5:38
Momony20-Sep-10 5:38 
GeneralRe: Writing to a Text File 101 Pin
cpkilekofp20-Sep-10 7:15
cpkilekofp20-Sep-10 7:15 
GeneralRe: Writing to a Text File 101 Pin
CDMTJX20-Sep-10 8:19
CDMTJX20-Sep-10 8:19 
GeneralChecking if a session object is null Pin
Steve Wellens16-Sep-10 6:53
Steve Wellens16-Sep-10 6:53 
GeneralRe: Checking if a session object is null Pin
Samuel Cragg16-Sep-10 7:20
Samuel Cragg16-Sep-10 7:20 
GeneralRe: Checking if a session object is null [modified] Pin
Steve Wellens16-Sep-10 15:08
Steve Wellens16-Sep-10 15:08 
GeneralRe: Checking if a session object is null Pin
Samuel Cragg17-Sep-10 2:23
Samuel Cragg17-Sep-10 2:23 
GeneralRe: Checking if a session object is null Pin
fjdiewornncalwe20-Sep-10 2:41
professionalfjdiewornncalwe20-Sep-10 2:41 
GeneralRe: Checking if a session object is null Pin
AspDotNetDev16-Sep-10 9:40
protectorAspDotNetDev16-Sep-10 9:40 
GeneralRe: Checking if a session object is null Pin
V.16-Sep-10 20:01
professionalV.16-Sep-10 20:01 
GeneralRe: Checking if a session object is null Pin
AspDotNetDev16-Sep-10 20:06
protectorAspDotNetDev16-Sep-10 20:06 
GeneralRe: Checking if a session object is null Pin
Luca Leonardo Scorcia17-Sep-10 3:10
professionalLuca Leonardo Scorcia17-Sep-10 3:10 
GeneralRe: Checking if a session object is null Pin
Richard A. Dalton17-Sep-10 11:30
Richard A. Dalton17-Sep-10 11:30 
GeneralRe: Checking if a session object is null Pin
cpkilekofp20-Sep-10 7:19
cpkilekofp20-Sep-10 7:19 

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.