Click here to Skip to main content
15,883,901 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: Keeping the server busy Pin
PIEBALDconsult22-Feb-08 10:09
mvePIEBALDconsult22-Feb-08 10:09 
GeneralRe: Keeping the server busy Pin
Bram van Kampen28-Feb-08 11:51
Bram van Kampen28-Feb-08 11:51 
GeneralRe: Keeping the server busy Pin
Robert Royall22-Feb-08 9:53
Robert Royall22-Feb-08 9:53 
GeneralRe: Keeping the server busy Pin
Vasudevan Deepak Kumar25-Feb-08 3:01
Vasudevan Deepak Kumar25-Feb-08 3:01 
GeneralRe: Keeping the server busy Pin
Russell Jones25-Feb-08 7:04
Russell Jones25-Feb-08 7:04 
GeneralRe: Keeping the server busy Pin
PIEBALDconsult28-Feb-08 12:13
mvePIEBALDconsult28-Feb-08 12:13 
GeneralSeems familiar? Pin
gnjunge21-Feb-08 0:37
gnjunge21-Feb-08 0:37 
GeneralRe: Seems familiar? Pin
PIEBALDconsult21-Feb-08 5:35
mvePIEBALDconsult21-Feb-08 5:35 
I agree that it's not very well written, but when was it written?
Splitting on string was added in .net 2.0; this may have been written before that... as was mine.

Mine also has the benefit of honoring quotes and escapes within the string, so splitting
12345,"Coyote, Wile E.","\"Super Genius\""
on comma will return the proper results.

Reinventing the wheel is acceptable if (and only if) it results in a better wheel.
GeneralRe: Seems familiar? Pin
Dave Kreskowiak21-Feb-08 6:36
mveDave Kreskowiak21-Feb-08 6:36 
GeneralRe: Seems familiar? Pin
PIEBALDconsult21-Feb-08 7:55
mvePIEBALDconsult21-Feb-08 7:55 
GeneralRe: Seems familiar? Pin
gnjunge21-Feb-08 20:08
gnjunge21-Feb-08 20:08 
GeneralRe: Seems familiar? Pin
PIEBALDconsult22-Feb-08 8:16
mvePIEBALDconsult22-Feb-08 8:16 
GeneralRe: Seems familiar? Pin
Guido_d22-Feb-08 2:41
Guido_d22-Feb-08 2:41 
GeneralRe: Seems familiar? Pin
PIEBALDconsult22-Feb-08 7:29
mvePIEBALDconsult22-Feb-08 7:29 
GeneralRe: Seems familiar? Pin
Steve Westbrook7-Mar-08 9:20
Steve Westbrook7-Mar-08 9:20 
GeneralRe: Seems familiar? Pin
Christoph Menge23-Feb-08 13:48
Christoph Menge23-Feb-08 13:48 
GeneralHorror people Pin
a.p@pandora.be19-Feb-08 9:03
a.p@pandora.be19-Feb-08 9:03 
JokeRe: Horror people Pin
CPallini19-Feb-08 9:28
mveCPallini19-Feb-08 9:28 
GeneralRe: Horror people PinPopular
Daniel 'Tak' M.19-Feb-08 9:28
Daniel 'Tak' M.19-Feb-08 9:28 
GeneralRe: Horror people Pin
PIEBALDconsult19-Feb-08 9:49
mvePIEBALDconsult19-Feb-08 9:49 
GeneralRe: Horror people Pin
a.p@pandora.be19-Feb-08 10:00
a.p@pandora.be19-Feb-08 10:00 
GeneralRe: Horror people Pin
Shog919-Feb-08 11:06
sitebuilderShog919-Feb-08 11:06 
GeneralRe: Horror people Pin
Steve Westbrook7-Mar-08 9:26
Steve Westbrook7-Mar-08 9:26 
GeneralRe: Horror people Pin
PIEBALDconsult19-Feb-08 10:00
mvePIEBALDconsult19-Feb-08 10:00 
GeneralRe: Horror people Pin
Pete O'Hanlon19-Feb-08 10:58
mvePete O'Hanlon19-Feb-08 10:58 

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.