Click here to Skip to main content
15,891,906 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: Constant Headache Pin
ekolis9-May-12 6:26
ekolis9-May-12 6:26 
GeneralRe: Constant Headache Pin
AspDotNetDev9-May-12 7:12
protectorAspDotNetDev9-May-12 7:12 
GeneralRe: Constant Headache Pin
ZurdoDev10-May-12 6:39
professionalZurdoDev10-May-12 6:39 
GeneralRe: Constant Headache Pin
AspDotNetDev10-May-12 7:10
protectorAspDotNetDev10-May-12 7:10 
GeneralRe: Constant Headache Pin
Jörgen Andersson11-May-12 8:44
professionalJörgen Andersson11-May-12 8:44 
GeneralRe: Constant Headache Pin
AspDotNetDev11-May-12 10:34
protectorAspDotNetDev11-May-12 10:34 
GeneralRe: Constant Headache Pin
AspDotNetDev12-May-12 10:13
protectorAspDotNetDev12-May-12 10:13 
GeneralRe: Constant Headache Pin
Jörgen Andersson15-May-12 21:17
professionalJörgen Andersson15-May-12 21:17 
That's a relief, I'm not senile just yet.

On the other hand, I just had to check MSDN, where the C# reference claims that there is a predefined implicit conversion from int to long, float, double, or decimal[^], no mention of strings.
Don't you just love their documentation.
Light moves faster than sound. That is why some people appear bright, until you hear them speak.
List of common misconceptions

GeneralRe: Constant Headache Pin
AspDotNetDev15-May-12 22:09
protectorAspDotNetDev15-May-12 22:09 
GeneralRe: Constant Headache Pin
Ankush Bansal12-May-12 6:26
Ankush Bansal12-May-12 6:26 
GeneralRe: Constant Headache Pin
BobJanova11-May-12 3:56
BobJanova11-May-12 3:56 
Generalbad SQL case PinPopular
crazedDotNetDev7-May-12 10:19
crazedDotNetDev7-May-12 10:19 
GeneralRe: bad SQL case Pin
Brisingr Aerowing7-May-12 11:44
professionalBrisingr Aerowing7-May-12 11:44 
GeneralRe: bad SQL case PinPopular
crazedDotNetDev7-May-12 11:55
crazedDotNetDev7-May-12 11:55 
GeneralRe: bad SQL case Pin
Sentenryu8-May-12 9:14
Sentenryu8-May-12 9:14 
GeneralRe: bad SQL case Pin
crazedDotNetDev8-May-12 11:41
crazedDotNetDev8-May-12 11:41 
GeneralRe: bad SQL case Pin
KP Lee9-May-12 21:13
KP Lee9-May-12 21:13 
JokeApparently there is no limit to naming conventions for method PinPopular
thedavejay3-May-12 5:27
thedavejay3-May-12 5:27 
GeneralRe: Apparently there is no limit to naming conventions for method PinPopular
OriginalGriff3-May-12 5:58
mveOriginalGriff3-May-12 5:58 
GeneralRe: Apparently there is no limit to naming conventions for method PinPopular
thedavejay3-May-12 6:23
thedavejay3-May-12 6:23 
GeneralRe: Apparently there is no limit to naming conventions for method Pin
Gary Wheeler4-May-12 1:08
Gary Wheeler4-May-12 1:08 
GeneralRe: Apparently there is no limit to naming conventions for method Pin
BillW334-May-12 2:46
professionalBillW334-May-12 2:46 
GeneralRe: Apparently there is no limit to naming conventions for method PinPopular
wizardzz4-May-12 5:18
wizardzz4-May-12 5:18 
GeneralRe: Apparently there is no limit to naming conventions for method Pin
Chris Meech3-May-12 6:01
Chris Meech3-May-12 6:01 
GeneralRe: Apparently there is no limit to naming conventions for method Pin
BobJanova3-May-12 6:42
BobJanova3-May-12 6:42 

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.