Click here to Skip to main content
15,915,093 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 outsourcing curse strikes again!! Pin
RobCroll18-Apr-12 2:13
RobCroll18-Apr-12 2:13 
GeneralRe: the outsourcing curse strikes again!! Pin
S@53K^S18-Apr-12 5:28
S@53K^S18-Apr-12 5:28 
GeneralRe: the outsourcing curse strikes again!! Pin
I.explore.code18-Apr-12 7:33
I.explore.code18-Apr-12 7:33 
GeneralRe: the outsourcing curse strikes again!! Pin
S@53K^S18-Apr-12 9:22
S@53K^S18-Apr-12 9:22 
GeneralRe: the outsourcing curse strikes again!! Pin
RobCroll18-Apr-12 14:00
RobCroll18-Apr-12 14:00 
GeneralRe: the outsourcing curse strikes again!! Pin
S@53K^S18-Apr-12 5:08
S@53K^S18-Apr-12 5:08 
GeneralRe: the outsourcing curse strikes again!! Pin
R. Giskard Reventlov18-Apr-12 5:22
R. Giskard Reventlov18-Apr-12 5:22 
GeneralRe: the outsourcing curse strikes again!! Pin
pafabian20-Apr-12 5:10
pafabian20-Apr-12 5:10 
GeneralRe: the outsourcing curse strikes again!! Pin
S@53K^S20-Apr-12 8:04
S@53K^S20-Apr-12 8:04 
GeneralRe: the outsourcing curse strikes again!! Pin
CDP180220-Apr-12 10:07
CDP180220-Apr-12 10:07 
GeneralRe: the outsourcing curse strikes again!! Pin
I.explore.code20-Apr-12 10:30
I.explore.code20-Apr-12 10:30 
GeneralRe: the outsourcing curse strikes again!! Pin
pafabian20-Apr-12 11:05
pafabian20-Apr-12 11:05 
GeneralRe: the outsourcing curse strikes again!! Pin
BobJanova22-Apr-12 23:02
BobJanova22-Apr-12 23:02 
GeneralRe: the outsourcing curse strikes again!! Pin
krsmichael27-Apr-12 14:13
krsmichael27-Apr-12 14:13 
GeneralRe: the outsourcing curse strikes again!! Pin
SASS_Shooter1-May-12 5:49
SASS_Shooter1-May-12 5:49 
GeneralRe: the outsourcing curse strikes again!! Pin
SASS_Shooter1-May-12 5:54
SASS_Shooter1-May-12 5:54 
GeneralI understand that we shouldn't duplicate code, but... Pin
Lutosław16-Apr-12 5:45
Lutosław16-Apr-12 5:45 
GeneralRe: I understand that we shouldn't duplicate code, but... Pin
Brisingr Aerowing16-Apr-12 5:54
professionalBrisingr Aerowing16-Apr-12 5:54 
GeneralRe: I understand that we shouldn't duplicate code, but... Pin
harold aptroot16-Apr-12 7:23
harold aptroot16-Apr-12 7:23 
GeneralRe: I understand that we shouldn't duplicate code, but... Pin
Lutosław16-Apr-12 9:31
Lutosław16-Apr-12 9:31 
GeneralRe: I understand that we shouldn't duplicate code, but... Pin
Robert Rohde16-Apr-12 13:26
Robert Rohde16-Apr-12 13:26 
GeneralRe: I understand that we shouldn't duplicate code, but... Pin
Lutosław17-Apr-12 0:46
Lutosław17-Apr-12 0:46 
GeneralRe: I understand that we shouldn't duplicate code, but... Pin
Robert Rohde17-Apr-12 19:03
Robert Rohde17-Apr-12 19:03 
1. The arithmetic overflow check is completely disabled in my solution (which ist the default setting; at least for VS 2010 console apps). Otherwise my whole test wouldn't work because I add so many large numbers that an OverflowException would occur.
2. Regarding the JIT: Thats why I made 3 (the for j loop) seperately stopped complete test runs. I always ignore the first result.
GeneralRe: I understand that we shouldn't duplicate code, but... Pin
Lutosław17-Apr-12 23:12
Lutosław17-Apr-12 23:12 
GeneralRe: I understand that we shouldn't duplicate code, but... Pin
Robert Rohde18-Apr-12 10:45
Robert Rohde18-Apr-12 10:45 

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.