Click here to Skip to main content
11,576,063 members (57,769 online)

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, embarrasing 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: Sometimes I wonder about code comments Pin
Collin Jasnoch19-Feb-13 4:39
memberCollin Jasnoch19-Feb-13 4:39 
GeneralRe: Sometimes I wonder about code comments Pin
SoMad19-Feb-13 9:56
memberSoMad19-Feb-13 9:56 
GeneralRe: Sometimes I wonder about code comments Pin
PIEBALDconsult19-Feb-13 12:59
memberPIEBALDconsult19-Feb-13 12:59 
GeneralRe: Sometimes I wonder about code comments Pin
Bernhard Hiller19-Feb-13 22:04
memberBernhard Hiller19-Feb-13 22:04 
GeneralRe: Sometimes I wonder about code comments Pin
Marco Bertschi20-Feb-13 9:56
memberMarco Bertschi20-Feb-13 9:56 
GeneralRe: Sometimes I wonder about code comments Pin
BobJanova20-Feb-13 4:12
memberBobJanova20-Feb-13 4:12 
GeneralRe: Sometimes I wonder about code comments Pin
krumia3-Mar-13 5:35
memberkrumia3-Mar-13 5:35 
RantRe: Sometimes I wonder about code comments Pin
Super Lloyd4-Mar-13 13:32
memberSuper Lloyd4-Mar-13 13:32 
GeneralRe: Sometimes I wonder about code comments Pin
wout de zeeuw6-Mar-13 14:31
memberwout de zeeuw6-Mar-13 14:31 
GeneralThis is the kind of productivity you get when you pay by lines of code Pin
Rob Grainger18-Feb-13 1:18
memberRob Grainger18-Feb-13 1:18 
JokeRe: This is the kind of productivity you get when you pay by lines of code Pin
AspDotNetDev18-Feb-13 9:32
protectorAspDotNetDev18-Feb-13 9:32 
GeneralRe: This is the kind of productivity you get when you pay by lines of code Pin
Naerling18-Feb-13 20:45
memberNaerling18-Feb-13 20:45 
GeneralRe: This is the kind of productivity you get when you pay by lines of code Pin
OriginalGriff19-Feb-13 4:59
mvpOriginalGriff19-Feb-13 4:59 
GeneralRe: This is the kind of productivity you get when you pay by lines of code Pin
Bernhard Hiller19-Feb-13 5:05
memberBernhard Hiller19-Feb-13 5:05 
Just a little change will allow for multi-threaded sleeping, i.e. create a new thread which does the sleep thus not blocking the main application Smile | :) . Imagine you'd have to do that when you used the built-in function everywhere...
GeneralRe: This is the kind of productivity you get when you pay by lines of code Pin
Marcus Kramer20-Feb-13 3:13
mvpMarcus Kramer20-Feb-13 3:13 
GeneralRe: This is the kind of productivity you get when you pay by lines of code Pin
wout de zeeuw6-Mar-13 14:31
memberwout de zeeuw6-Mar-13 14:31 
GeneralIF-free codes Pin
SarK0Y15-Feb-13 12:34
memberSarK0Y15-Feb-13 12:34 
GeneralRe: IF-free codes Pin
Paul Conrad15-Feb-13 12:54
memberPaul Conrad15-Feb-13 12:54 
GeneralRe: IF-free codes Pin
SarK0Y15-Feb-13 13:06
memberSarK0Y15-Feb-13 13:06 
GeneralRe: IF-free codes Pin
Gary Wheeler19-Feb-13 0:17
memberGary Wheeler19-Feb-13 0:17 
GeneralRe: IF-free codes Pin
Chad3F20-Feb-13 19:03
memberChad3F20-Feb-13 19:03 
GeneralRe: IF-free codes Pin
dusty_dex19-Feb-13 5:54
memberdusty_dex19-Feb-13 5:54 
GeneralRe: IF-free codes Pin
danataylor19-Mar-13 10:09
memberdanataylor19-Mar-13 10:09 
GeneralRe: IF-free codes Pin
RonDsz19-Feb-13 9:36
memberRonDsz19-Feb-13 9:36 
JokeRe: IF-free codes Pin
Brisingr Aerowing25-Feb-13 14:58
memberBrisingr Aerowing25-Feb-13 14:58 
GeneralRe: IF-free codes Pin
PIEBALDconsult15-Feb-13 19:27
memberPIEBALDconsult15-Feb-13 19:27 
JokeRe: IF-free codes Pin
Brisingr Aerowing15-Feb-13 19:47
memberBrisingr Aerowing15-Feb-13 19:47 
GeneralRe: IF-free codes Pin
Monaco.Bavarian18-Feb-13 19:50
memberMonaco.Bavarian18-Feb-13 19:50 
GeneralRe: IF-free codes Pin
KP Lee19-Feb-13 11:36
memberKP Lee19-Feb-13 11:36 
AnswerRe: IF-free codes Pin
Monaco.Bavarian19-Feb-13 19:07
memberMonaco.Bavarian19-Feb-13 19:07 
GeneralRe: IF-free codes Pin
KP Lee19-Feb-13 21:51
memberKP Lee19-Feb-13 21:51 
GeneralRe: IF-free codes Pin
Stefan_Lang19-Feb-13 0:30
memberStefan_Lang19-Feb-13 0:30 
GeneralRe: IF-free codes Pin
JHubSharp19-Feb-13 4:14
memberJHubSharp19-Feb-13 4:14 
GeneralRe: IF-free codes Pin
Gary Huck19-Feb-13 5:19
memberGary Huck19-Feb-13 5:19 
GeneralRe: IF-free codes Pin
Zan Lynx19-Feb-13 11:10
memberZan Lynx19-Feb-13 11:10 
GeneralRe: IF-free codes Pin
Member 838047519-Feb-13 6:01
memberMember 838047519-Feb-13 6:01 
GeneralRe: IF-free codes Pin
Dave Kreskowiak5-Mar-13 3:55
mvpDave Kreskowiak5-Mar-13 3:55 
GeneralRe: IF-free codes Pin
RafagaX19-Feb-13 6:22
memberRafagaX19-Feb-13 6:22 
GeneralRe: IF-free codes Pin
jschell19-Feb-13 8:16
memberjschell19-Feb-13 8:16 
GeneralRe: IF-free codes Pin
Josh_T19-Feb-13 13:40
memberJosh_T19-Feb-13 13:40 
GeneralRe: IF-free codes Pin
Member 460889823-Feb-13 7:07
memberMember 460889823-Feb-13 7:07 
GeneralRe: IF-free codes Pin
ihoecken26-Feb-13 4:23
memberihoecken26-Feb-13 4:23 
GeneralRe: IF-free codes Pin
SarK0Y28-Oct-14 12:13
memberSarK0Y28-Oct-14 12:13 
GeneralRe: IF-free codes Pin
Ingo28-Oct-14 23:20
memberIngo28-Oct-14 23:20 
QuestionRe: IF-free codes Pin
SarK0Y29-Oct-14 9:16
memberSarK0Y29-Oct-14 9:16 
AnswerRe: IF-free codes Pin
Ingo31-Oct-14 1:41
memberIngo31-Oct-14 1:41 
GeneralRe: IF-free codes Pin
Dave Kreskowiak5-Mar-13 3:53
mvpDave Kreskowiak5-Mar-13 3:53 
GeneralSpurious use of goto... Pin
Rob Grainger7-Feb-13 1:46
memberRob Grainger7-Feb-13 1:46 
GeneralRe: Spurious use of goto... Pin
joe_j7-Feb-13 23:37
memberjoe_j7-Feb-13 23:37 
General77 Pin
AspDotNetDev6-Feb-13 12:43
protectorAspDotNetDev6-Feb-13 12:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 3 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid