Click here to Skip to main content
15,886,799 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: Stored Procedure Hell Pin
Rob Grainger28-Nov-13 9:52
Rob Grainger28-Nov-13 9:52 
GeneralRe: Stored Procedure Hell Pin
Jörgen Andersson28-Nov-13 12:16
professionalJörgen Andersson28-Nov-13 12:16 
GeneralRe: Stored Procedure Hell Pin
Rob Grainger28-Nov-13 22:19
Rob Grainger28-Nov-13 22:19 
GeneralRe: Stored Procedure Hell Pin
Rob Grainger28-Nov-13 9:41
Rob Grainger28-Nov-13 9:41 
GeneralRe: Stored Procedure Hell Pin
Nicholas Marty28-Nov-13 21:56
professionalNicholas Marty28-Nov-13 21:56 
GeneralConvert.ToInt32 Pin
Silvabolt27-Nov-13 7:29
Silvabolt27-Nov-13 7:29 
GeneralRe: Convert.ToInt32 PinPopular
Ron Beyer27-Nov-13 7:58
professionalRon Beyer27-Nov-13 7:58 
GeneralRe: Convert.ToInt32 Pin
Silvabolt27-Nov-13 8:09
Silvabolt27-Nov-13 8:09 
Hmm... totally missed this usage case, you're right. More often than not though, I use the Convert class to convert objects where I do know what I'm passing in, so it just struck me as odd when I was browsing documentation. I feel like they could have mentioned this in the remarks rather than a 'nothing happened' remark.
GeneralRe: Convert.ToInt32 Pin
Ron Beyer27-Nov-13 8:23
professionalRon Beyer27-Nov-13 8:23 
GeneralRe: Convert.ToInt32 Pin
krumia27-Nov-13 17:00
krumia27-Nov-13 17:00 
GeneralRe: Convert.ToInt32 Pin
Ron Beyer27-Nov-13 17:41
professionalRon Beyer27-Nov-13 17:41 
GeneralRe: Convert.ToInt32 Pin
Richard Deeming28-Nov-13 1:11
mveRichard Deeming28-Nov-13 1:11 
GeneralRe: Convert.ToInt32 Pin
OriginalGriff28-Nov-13 3:29
mveOriginalGriff28-Nov-13 3:29 
GeneralRe: Convert.ToInt32 Pin
Lutosław27-Dec-13 0:48
Lutosław27-Dec-13 0:48 
GeneralRe: Convert.ToInt32 Pin
PIEBALDconsult27-Nov-13 13:01
mvePIEBALDconsult27-Nov-13 13:01 
GeneralRe: Convert.ToInt32 Pin
Vasudevan Deepak Kumar29-Nov-13 1:57
Vasudevan Deepak Kumar29-Nov-13 1:57 
GeneralRe: Convert.ToInt32 Pin
Ravi Bhavnani27-Nov-13 8:07
professionalRavi Bhavnani27-Nov-13 8:07 
GeneralRe: Convert.ToInt32 Pin
Lutosław27-Dec-13 0:56
Lutosław27-Dec-13 0:56 
GeneralRe: Convert.ToInt32 Pin
Argonia28-Nov-13 4:17
professionalArgonia28-Nov-13 4:17 
GeneralRe: Convert.ToInt32 Pin
Richard Deeming28-Nov-13 4:23
mveRichard Deeming28-Nov-13 4:23 
GeneralRe: Convert.ToInt32 Pin
Rob Grainger28-Nov-13 10:05
Rob Grainger28-Nov-13 10:05 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 0:17
robocodeboy2-Dec-13 0:17 
GeneralRe: Convert.ToInt32 Pin
Argonia2-Dec-13 0:48
professionalArgonia2-Dec-13 0:48 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 1:06
robocodeboy2-Dec-13 1:06 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 1:10
robocodeboy2-Dec-13 1:10 

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.