Click here to Skip to main content
15,901,679 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: For loops and array Pin
Dan Neely14-May-07 7:01
Dan Neely14-May-07 7:01 
GeneralRe: For loops and array Pin
mav.northwind14-May-07 8:43
mav.northwind14-May-07 8:43 
GeneralRe: For loops and array Pin
John R. Shaw14-May-07 17:22
John R. Shaw14-May-07 17:22 
GeneralRe: For loops and array Pin
Mladen Janković14-May-07 22:25
Mladen Janković14-May-07 22:25 
GeneralRe: For loops and array Pin
John R. Shaw15-May-07 1:04
John R. Shaw15-May-07 1:04 
GeneralAgain, where are cases 0 and 11 ? Pin
Kochise15-May-07 4:05
Kochise15-May-07 4:05 
GeneralRe: Again, where are cases 0 and 11 ? Pin
PIEBALDconsult15-May-07 7:22
mvePIEBALDconsult15-May-07 7:22 
GeneralRe: Again, where are cases 0 and 11 ? Pin
Mladen Janković15-May-07 7:53
Mladen Janković15-May-07 7:53 
Cards 1 and 11 are the same, so 11 is skipped, at least something is right Wink | ;)

Mostly, when you see programmers, they aren't doing anything. One of the attractive things about programmers is that you cannot tell whether or not they are working simply by looking at them. Very often they're sitting there seemingly drinking coffee and gossiping, or just staring into space. What the programmer is trying to do is get a handle on all the individual and unrelated ideas that are scampering around in his head. (Charles M Strauss)

GeneralRe: Again, where are cases 0 and 11 ? Pin
PIEBALDconsult15-May-07 9:18
mvePIEBALDconsult15-May-07 9:18 
GeneralRe: Again, where are cases 0 and 11 ? Pin
Dan Neely15-May-07 9:20
Dan Neely15-May-07 9:20 
GeneralRe: Again, where are cases 0 and 11 ? Pin
PIEBALDconsult15-May-07 10:18
mvePIEBALDconsult15-May-07 10:18 
GeneralRe: Again, where are cases 0 and 11 ? Pin
Dan Neely15-May-07 10:34
Dan Neely15-May-07 10:34 
GeneralRe: For loops and array Pin
Brent Lamborn5-Jun-07 11:02
Brent Lamborn5-Jun-07 11:02 
GeneralRe: For loops and array Pin
D1117-Jun-07 3:29
D1117-Jun-07 3:29 
GeneralRe: For loops and array Pin
Sylvester george20-Jun-07 3:03
Sylvester george20-Jun-07 3:03 
General_GC pointers [modified] Pin
syedhasan13-May-07 20:27
syedhasan13-May-07 20:27 
GeneralRe: _GC pointers Pin
Michael Dunn13-May-07 20:47
sitebuilderMichael Dunn13-May-07 20:47 
GeneralFormatting a "yyyyMMdd" string to "yyyy-MM-dd" in C# Pin
Vikram A Punathambekar10-May-07 20:31
Vikram A Punathambekar10-May-07 20:31 
GeneralRe: Formatting a "yyyyMMdd" string to "yyyy-MM-dd" in C# Pin
Pete O'Hanlon10-May-07 23:33
mvePete O'Hanlon10-May-07 23:33 
GeneralRe: Formatting a "yyyyMMdd" string to "yyyy-MM-dd" in C# Pin
Mike Dimmick11-May-07 0:46
Mike Dimmick11-May-07 0:46 
GeneralRe: Formatting a "yyyyMMdd" string to "yyyy-MM-dd" in C# Pin
PIEBALDconsult11-May-07 6:01
mvePIEBALDconsult11-May-07 6:01 
GeneralRe: Formatting a "yyyyMMdd" string to "yyyy-MM-dd" in C# Pin
peterchen13-May-07 6:44
peterchen13-May-07 6:44 
GeneralRe: Formatting a "yyyyMMdd" string to "yyyy-MM-dd" in C# Pin
Mike Dimmick11-May-07 1:00
Mike Dimmick11-May-07 1:00 
GeneralRe: Formatting a "yyyyMMdd" string to "yyyy-MM-dd" in C# Pin
John R. Shaw12-May-07 12:10
John R. Shaw12-May-07 12:10 
GeneralRe: Formatting a "yyyyMMdd" string to "yyyy-MM-dd" in C# Pin
pbraun17-May-07 17:12
pbraun17-May-07 17:12 

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.