Click here to Skip to main content
15,886,014 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: :'-( Pin
Pete O'Hanlon30-Jul-12 10:48
mvePete O'Hanlon30-Jul-12 10:48 
GeneralRe: :'-( Pin
AspDotNetDev30-Jul-12 12:59
protectorAspDotNetDev30-Jul-12 12:59 
GeneralRe: :'-( Pin
Pete O'Hanlon30-Jul-12 23:37
mvePete O'Hanlon30-Jul-12 23:37 
GeneralRe: :'-( Pin
Tom Deketelaere31-Jul-12 0:03
professionalTom Deketelaere31-Jul-12 0:03 
GeneralRe: :'-( Pin
Alan Burkhart1-Aug-12 17:28
Alan Burkhart1-Aug-12 17:28 
GeneralRe: :'-( Pin
ExcellentOrg31-Jul-12 23:41
ExcellentOrg31-Jul-12 23:41 
JokeRe: :'-( Pin
dan!sh 1-Aug-12 1:46
professional dan!sh 1-Aug-12 1:46 
GeneralRe: :'-( Pin
jim lahey30-Jul-12 23:29
jim lahey30-Jul-12 23:29 
Aside from redundant variable declarations and swallowed exceptions, I enjoy the way the author disposes of the DataSet and DataAdapter after the method has returned. It's the only way to be sure..

Also: VB.net and inherent naming convention make me grieve for the the 18 months I lost before I moved to C# and started calling things by names that infer even the slightest insight to their usage.
GeneralRe: :'-( Pin
CDP180231-Jul-12 1:22
CDP180231-Jul-12 1:22 
GeneralRe: :'-( Pin
jim lahey31-Jul-12 1:27
jim lahey31-Jul-12 1:27 
GeneralRe: :'-( Pin
RobCroll31-Jul-12 15:02
RobCroll31-Jul-12 15:02 
GeneralRe: :'-( Pin
woosterprogrammer1-Aug-12 1:51
woosterprogrammer1-Aug-12 1:51 
GeneralRe: :'-( Pin
Schmuli1-Aug-12 3:00
Schmuli1-Aug-12 3:00 
GeneralRe: :'-( Pin
woosterprogrammer1-Aug-12 6:28
woosterprogrammer1-Aug-12 6:28 
GeneralRe: :'-( Pin
Schmuli5-Aug-12 21:45
Schmuli5-Aug-12 21:45 
GeneralRe: :'-( Pin
woosterprogrammer7-Aug-12 1:49
woosterprogrammer7-Aug-12 1:49 
GeneralRe: :'-( Pin
Schmuli7-Aug-12 21:03
Schmuli7-Aug-12 21:03 
GeneralRe: :'-( Pin
woosterprogrammer8-Aug-12 1:28
woosterprogrammer8-Aug-12 1:28 
GeneralRe: :'-( Pin
BobJanova1-Aug-12 23:00
BobJanova1-Aug-12 23:00 
GeneralRe: :'-( Pin
Pete O'Hanlon1-Aug-12 23:09
mvePete O'Hanlon1-Aug-12 23:09 
GeneralRe: :'-( Pin
BobJanova2-Aug-12 1:38
BobJanova2-Aug-12 1:38 
GeneralRe: :'-( Pin
CDP18022-Aug-12 3:31
CDP18022-Aug-12 3:31 
GeneralRe: :'-( Pin
bjarneds1-Aug-12 23:31
bjarneds1-Aug-12 23:31 
GeneralRe: :'-( Pin
Gary Huck1-Aug-12 3:40
Gary Huck1-Aug-12 3:40 
GeneralRe: :'-( Pin
Schmuli1-Aug-12 3:01
Schmuli1-Aug-12 3:01 

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.