Click here to Skip to main content
15,887,318 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: zero int? Pin
harold aptroot23-Nov-11 7:24
harold aptroot23-Nov-11 7:24 
GeneralRe: zero int? Pin
AspDotNetDev23-Nov-11 11:08
protectorAspDotNetDev23-Nov-11 11:08 
GeneralRe: zero int? Pin
KP Lee3-Dec-11 1:51
KP Lee3-Dec-11 1:51 
GeneralRe: zero int? Pin
harold aptroot3-Dec-11 2:14
harold aptroot3-Dec-11 2:14 
AnswerRe: zero int? Pin
Nagy Vilmos21-Nov-11 23:52
professionalNagy Vilmos21-Nov-11 23:52 
GeneralRe: zero int? Pin
CDP180221-Nov-11 23:57
CDP180221-Nov-11 23:57 
GeneralRe: zero int? Pin
Nagy Vilmos21-Nov-11 23:58
professionalNagy Vilmos21-Nov-11 23:58 
GeneralRe: zero int? Pin
CDP180222-Nov-11 0:08
CDP180222-Nov-11 0:08 
Int32 is a struct, not a class, making it a value type and not a reference type. It's also the underlying type in the framework for int, as far as I know you can use them synonymously.
And from the clouds a mighty voice spoke:
"Smile and be happy, for it could come worse!"

And I smiled and was happy
And it came worse.



GeneralRe: zero int? Pin
PIEBALDconsult22-Nov-11 1:51
mvePIEBALDconsult22-Nov-11 1:51 
GeneralRe: zero int? Pin
CDP180222-Nov-11 2:24
CDP180222-Nov-11 2:24 
GeneralRe: zero int? Pin
Reiss22-Nov-11 2:45
professionalReiss22-Nov-11 2:45 
GeneralRe: zero int? Pin
CDP180222-Nov-11 2:52
CDP180222-Nov-11 2:52 
GeneralRe: zero int? PinPopular
harold aptroot22-Nov-11 2:57
harold aptroot22-Nov-11 2:57 
GeneralRe: zero int? Pin
Reiss22-Nov-11 5:20
professionalReiss22-Nov-11 5:20 
GeneralRe: zero int? Pin
harold aptroot22-Nov-11 0:36
harold aptroot22-Nov-11 0:36 
GeneralRe: zero int? Pin
BobJanova22-Nov-11 0:38
BobJanova22-Nov-11 0:38 
AnswerRe: zero int? Pin
Fabio Franco23-Nov-11 7:16
professionalFabio Franco23-Nov-11 7:16 
AnswerRe: zero int? Pin
KP Lee3-Dec-11 11:18
KP Lee3-Dec-11 11:18 
RantWhy SQL Server sucked on Friday Pin
Gary R. Wheeler20-Nov-11 5:45
Gary R. Wheeler20-Nov-11 5:45 
GeneralRe: Why SQL Server sucked on Friday Pin
OriginalGriff20-Nov-11 6:07
mveOriginalGriff20-Nov-11 6:07 
GeneralRe: Why SQL Server sucked on Friday Pin
Gary R. Wheeler20-Nov-11 7:35
Gary R. Wheeler20-Nov-11 7:35 
GeneralRe: Why SQL Server sucked on Friday Pin
sucram21-Nov-11 1:57
sucram21-Nov-11 1:57 
GeneralPerfect way to show a splash screen PinPopular
Vladimir Svyatski16-Nov-11 21:08
professionalVladimir Svyatski16-Nov-11 21:08 
GeneralRe: Perfect way to show a splash screen Pin
BobJanova17-Nov-11 0:20
BobJanova17-Nov-11 0:20 
GeneralRe: Perfect way to show a splash screen Pin
Chris Meech17-Nov-11 4:07
Chris Meech17-Nov-11 4:07 

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.