Click here to Skip to main content
15,888,085 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: The mystery function PinPopular
harold aptroot8-Jan-12 23:21
harold aptroot8-Jan-12 23:21 
GeneralRe: The mystery function Pin
Pascal Ganaye11-Jan-12 21:45
Pascal Ganaye11-Jan-12 21:45 
GeneralStupid code Pin
zenwalker19855-Jan-12 21:21
zenwalker19855-Jan-12 21:21 
GeneralRe: Stupid code Pin
Robert Rohde5-Jan-12 23:31
Robert Rohde5-Jan-12 23:31 
GeneralRe: Stupid code Pin
AspDotNetDev5-Jan-12 23:41
protectorAspDotNetDev5-Jan-12 23:41 
GeneralRe: Stupid code Pin
zenwalker19856-Jan-12 6:55
zenwalker19856-Jan-12 6:55 
GeneralRe: Stupid code Pin
James Lonero11-Jan-12 18:51
James Lonero11-Jan-12 18:51 
GeneralRe: Stupid code Pin
gumi_r@msn.com6-Jan-12 10:04
gumi_r@msn.com6-Jan-12 10:04 
Pretty normal mistake although its kind of weird how it made it into release unless this bit of code is only run when some very obscure corner case or feature is hit...

I'm sure there is some good reason ($$$) why the C# team haven't implemented it but I still wonder why the compiler doesn't throw a warning in such cases...

modified 6-Jan-12 16:10pm.

GeneralRe: Stupid code Pin
zenwalker19856-Jan-12 19:28
zenwalker19856-Jan-12 19:28 
GeneralRe: Stupid code Pin
Fueled By Decaff8-Jan-12 0:44
Fueled By Decaff8-Jan-12 0:44 
GeneralRe: Stupid code Pin
BobJanova9-Jan-12 0:49
BobJanova9-Jan-12 0:49 
GeneralRe: Stupid code Pin
Gary Wheeler11-Jan-12 0:16
Gary Wheeler11-Jan-12 0:16 
JokeThe developer's golden rule, 100% true Pin
TestShoot5-Jan-12 6:23
TestShoot5-Jan-12 6:23 
GeneralRe: The developer's golden rule, 100% true Pin
Dalek Dave5-Jan-12 6:59
professionalDalek Dave5-Jan-12 6:59 
GeneralRe: The developer's golden rule, 100% true Pin
OriginalGriff5-Jan-12 9:16
mveOriginalGriff5-Jan-12 9:16 
GeneralRe: The developer's golden rule, 100% true Pin
Fabio Franco11-Jan-12 6:23
professionalFabio Franco11-Jan-12 6:23 
GeneralRe: The developer's golden rule, 100% true Pin
PIEBALDconsult5-Jan-12 8:44
mvePIEBALDconsult5-Jan-12 8:44 
GeneralRe: The developer's golden rule, 100% true PinPopular
RobCroll6-Jan-12 22:19
RobCroll6-Jan-12 22:19 
GeneralRe: The developer's golden rule, 100% true Pin
OriginalGriff7-Jan-12 0:18
mveOriginalGriff7-Jan-12 0:18 
GeneralRe: The developer's golden rule, 100% true Pin
Gary Wheeler11-Jan-12 0:13
Gary Wheeler11-Jan-12 0:13 
GeneralRe: The developer's golden rule, 100% true Pin
TonyVaughan11-Jan-12 2:30
TonyVaughan11-Jan-12 2:30 
GeneralRe: The developer's golden rule, 100% true Pin
Gary Wheeler11-Jan-12 2:33
Gary Wheeler11-Jan-12 2:33 
GeneralHow to Train Your Programmer PinPopular
Rajesh_Francis2-Jan-12 22:21
professionalRajesh_Francis2-Jan-12 22:21 
GeneralRe: How to Train Your Programmer PinPopular
OriginalGriff2-Jan-12 22:48
mveOriginalGriff2-Jan-12 22:48 
GeneralRe: How to Train Your Programmer Pin
Rajesh_Francis2-Jan-12 23:00
professionalRajesh_Francis2-Jan-12 23:00 

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.