Click here to Skip to main content
13,198,325 members (74,595 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, 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: How not to create an instance of a singleton Pin
Marc Clifton11-Apr-14 1:40
protectorMarc Clifton11-Apr-14 1:40 
GeneralRe: How not to create an instance of a singleton Pin
Nicholas Marty11-Apr-14 3:16
professionalNicholas Marty11-Apr-14 3:16 
GeneralRe: How not to create an instance of a singleton Pin
Marc Clifton11-Apr-14 4:52
protectorMarc Clifton11-Apr-14 4:52 
GeneralRe: How not to create an instance of a singleton Pin
Dennis_E24-Apr-14 1:16
professionalDennis_E24-Apr-14 1:16 
GeneralRe: How not to create an instance of a singleton Pin
Nicholas Marty24-Apr-14 3:20
professionalNicholas Marty24-Apr-14 3:20 
GeneralRe: How not to create an instance of a singleton Pin
BobJanova11-Apr-14 6:50
memberBobJanova11-Apr-14 6:50 
GeneralRe: How not to create an instance of a singleton Pin
Bernhard Hiller11-Apr-14 2:21
professionalBernhard Hiller11-Apr-14 2:21 
GeneralRe: How not to create an instance of a singleton Pin
OriginalGriff11-Apr-14 5:42
protectorOriginalGriff11-Apr-14 5:42 
GeneralRe: How not to create an instance of a singleton Pin
Jacek Gajek29-Apr-14 10:51
memberJacek Gajek29-Apr-14 10:51 
GeneralThere is nothing new under the sun... Pin
Duncan Edwards Jones9-Apr-14 7:22
professionalDuncan Edwards Jones9-Apr-14 7:22 
GeneralRe: There is nothing new under the sun... Pin
I.explore.code9-Apr-14 7:41
memberI.explore.code9-Apr-14 7:41 
GeneralRe: There is nothing new under the sun... Pin
Chris Maunder9-Apr-14 7:55
adminChris Maunder9-Apr-14 7:55 
GeneralRe: There is nothing new under the sun... Pin
Kornfeld Eliyahu Peter9-Apr-14 10:05
professionalKornfeld Eliyahu Peter9-Apr-14 10:05 
GeneralRe: There is nothing new under the sun... Pin
Rob Grainger10-Apr-14 23:30
memberRob Grainger10-Apr-14 23:30 
When I see code like this, I sometimes suspect it may have been copied/pasted from a De-Compiler (such as IL Spy). I mean why on earth would someone go to the trouble of typing that?
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.

GeneralRe: There is nothing new under the sun... Pin
Duncan Edwards Jones10-Apr-14 23:49
professionalDuncan Edwards Jones10-Apr-14 23:49 
GeneralRe: There is nothing new under the sun... Pin
Sander Rossel24-Apr-14 7:42
memberSander Rossel24-Apr-14 7:42 
GeneralHow not to do transaction processing Pin
Rob Grainger9-Apr-14 6:12
memberRob Grainger9-Apr-14 6:12 
GeneralRe: How not to do transaction processing Pin
Duncan Edwards Jones9-Apr-14 7:13
professionalDuncan Edwards Jones9-Apr-14 7:13 
GeneralRe: How not to do transaction processing Pin
Rob Grainger10-Apr-14 4:12
memberRob Grainger10-Apr-14 4:12 
GeneralRe: How not to do transaction processing Pin
W Balboos11-Apr-14 1:14
memberW Balboos11-Apr-14 1:14 
GeneralRe: How not to do transaction processing Pin
clawton9-Apr-14 12:30
memberclawton9-Apr-14 12:30 
GeneralRe: How not to do transaction processing Pin
BobJanova9-Apr-14 23:39
memberBobJanova9-Apr-14 23:39 
GeneralRe: How not to do transaction processing Pin
Rob Grainger10-Apr-14 4:14
memberRob Grainger10-Apr-14 4:14 
RantI just can't take it no more! Pin
Super Lloyd9-Apr-14 0:10
memberSuper Lloyd9-Apr-14 0:10 
GeneralRe: I just can't take it no more! Pin
Duncan Edwards Jones9-Apr-14 0:20
professionalDuncan Edwards Jones9-Apr-14 0:20 
GeneralRe: I just can't take it no more! Pin
Sentenryu9-Apr-14 0:23
memberSentenryu9-Apr-14 0:23 
GeneralRe: I just can't take it no more! Pin
Duncan Edwards Jones9-Apr-14 0:42
professionalDuncan Edwards Jones9-Apr-14 0:42 
GeneralRe: I just can't take it no more! Pin
Sentenryu9-Apr-14 1:13
memberSentenryu9-Apr-14 1:13 
GeneralRe: I just can't take it no more! Pin
Duncan Edwards Jones9-Apr-14 1:21
professionalDuncan Edwards Jones9-Apr-14 1:21 
GeneralRe: I just can't take it no more! Pin
Super Lloyd9-Apr-14 15:11
memberSuper Lloyd9-Apr-14 15:11 
GeneralRe: I just can't take it no more! Pin
Sentenryu10-Apr-14 0:43
memberSentenryu10-Apr-14 0:43 
GeneralRe: I just can't take it no more! Pin
RyanDev9-Apr-14 1:24
mvpRyanDev9-Apr-14 1:24 
GeneralRe: I just can't take it no more! Pin
PIEBALDconsult9-Apr-14 3:15
memberPIEBALDconsult9-Apr-14 3:15 
GeneralRe: I just can't take it no more! Pin
Super Lloyd9-Apr-14 15:12
memberSuper Lloyd9-Apr-14 15:12 
GeneralRe: I just can't take it no more! Pin
V.11-Apr-14 0:00
professionalV.11-Apr-14 0:00 
GeneralRe: I just can't take it no more! Pin
Super Lloyd12-Apr-14 19:28
memberSuper Lloyd12-Apr-14 19:28 
GeneralRe: I just can't take it no more! Pin
Super Lloyd12-Apr-14 19:30
memberSuper Lloyd12-Apr-14 19:30 
GeneralRe: I just can't take it no more! Pin
V.12-Apr-14 20:17
professionalV.12-Apr-14 20:17 
GeneralThis did not serve it's intended purpose Pin
0bx3-Apr-14 4:04
member0bx3-Apr-14 4:04 
GeneralRe: This did not serve it's intended purpose Pin
OriginalGriff3-Apr-14 4:08
protectorOriginalGriff3-Apr-14 4:08 
GeneralRe: This did not serve it's intended purpose Pin
mikepwilson3-Apr-14 4:26
membermikepwilson3-Apr-14 4:26 
GeneralRe: This did not serve it's intended purpose Pin
Duncan Edwards Jones3-Apr-14 4:29
professionalDuncan Edwards Jones3-Apr-14 4:29 
GeneralRe: This did not serve it's intended purpose Pin
Adam R Harris3-Apr-14 5:41
memberAdam R Harris3-Apr-14 5:41 
GeneralTight disposing of objects in an old project Pin
Sanjay K. Gupta2-Apr-14 1:57
memberSanjay K. Gupta2-Apr-14 1:57 
GeneralRe: Tight disposing of objects in an old project Pin
Dave Kreskowiak2-Apr-14 2:21
mvpDave Kreskowiak2-Apr-14 2:21 
GeneralRe: Tight disposing of objects in an old project Pin
Bernhard Hiller2-Apr-14 21:53
professionalBernhard Hiller2-Apr-14 21:53 
GeneralRe: Tight disposing of objects in an old project Pin
PIEBALDconsult2-Apr-14 3:39
memberPIEBALDconsult2-Apr-14 3:39 
GeneralRe: Tight disposing of objects in an old project Pin
Bernhard Hiller2-Apr-14 21:57
professionalBernhard Hiller2-Apr-14 21:57 
GeneralRe: Tight disposing of objects in an old project Pin
Dennis_E3-Apr-14 23:36
professionalDennis_E3-Apr-14 23:36 
GeneralLeaky comment? Pin
PIEBALDconsult31-Mar-14 14:09
memberPIEBALDconsult31-Mar-14 14:09 

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.


Advertise | Privacy |
Web03 | 2.8.171020.1 | Last Updated 21 Oct 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid