Click here to Skip to main content
11,478,896 members (64,547 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: #region Pin
Brisingr Aerowing11-Apr-14 6:46
professionalBrisingr Aerowing11-Apr-14 6:46 
GeneralRe: #region Pin
Shameel21-Apr-14 1:57
memberShameel21-Apr-14 1:57 
GeneralRe: #region Pin
BobJanova11-Apr-14 7:51
memberBobJanova11-Apr-14 7:51 
GeneralRe: #region Pin
Richard Andrew x6411-Apr-14 9:29
professionalRichard Andrew x6411-Apr-14 9:29 
JokeRe: #region Pin
Sander Rossel24-Apr-14 8:33
memberSander Rossel24-Apr-14 8:33 
GeneralRe: #region Pin
Giuseppe Tollini24-May-14 2:05
memberGiuseppe Tollini24-May-14 2:05 
GeneralRe: #region Pin
Bernhard Hiller29-May-14 21:59
professionalBernhard Hiller29-May-14 21:59 
GeneralHow not to create an instance of a singleton Pin
Dennis_E11-Apr-14 0:59
professionalDennis_E11-Apr-14 0:59 
JokeRe: How not to create an instance of a singleton Pin
Nicholas Marty11-Apr-14 1:25
professionalNicholas Marty11-Apr-14 1:25 
GeneralRe: How not to create an instance of a singleton Pin
Marc Clifton11-Apr-14 2:40
protectorMarc Clifton11-Apr-14 2:40 
GeneralRe: How not to create an instance of a singleton Pin
Nicholas Marty11-Apr-14 4:16
professionalNicholas Marty11-Apr-14 4:16 
GeneralRe: How not to create an instance of a singleton Pin
Marc Clifton11-Apr-14 5:52
protectorMarc Clifton11-Apr-14 5:52 
GeneralRe: How not to create an instance of a singleton Pin
Dennis_E24-Apr-14 2:16
professionalDennis_E24-Apr-14 2:16 
GeneralRe: How not to create an instance of a singleton Pin
Nicholas Marty24-Apr-14 4:20
professionalNicholas Marty24-Apr-14 4:20 
Uh... Somehow I mistook the code for c#... Somehow skipped that in the original post Unsure | :~

At least in c# it isn't possible to do that and I'd think even Java should at least give a compiler warning about that Wink | ;)
GeneralRe: How not to create an instance of a singleton Pin
BobJanova11-Apr-14 7:50
memberBobJanova11-Apr-14 7:50 
GeneralRe: How not to create an instance of a singleton Pin
Bernhard Hiller11-Apr-14 3:21
professionalBernhard Hiller11-Apr-14 3:21 
GeneralRe: How not to create an instance of a singleton Pin
OriginalGriff11-Apr-14 6:42
protectorOriginalGriff11-Apr-14 6:42 
GeneralRe: How not to create an instance of a singleton Pin
Jacek Gajek29-Apr-14 11:51
memberJacek Gajek29-Apr-14 11:51 
GeneralThere is nothing new under the sun... Pin
Duncan Edwards Jones9-Apr-14 8:22
professionalDuncan Edwards Jones9-Apr-14 8:22 
GeneralRe: There is nothing new under the sun... Pin
I.explore.code9-Apr-14 8:41
memberI.explore.code9-Apr-14 8:41 
GeneralRe: There is nothing new under the sun... Pin
Chris Maunder9-Apr-14 8:55
adminChris Maunder9-Apr-14 8:55 
GeneralRe: There is nothing new under the sun... Pin
Kornfeld Eliyahu Peter9-Apr-14 11:05
professionalKornfeld Eliyahu Peter9-Apr-14 11:05 
GeneralRe: There is nothing new under the sun... Pin
Rob Grainger11-Apr-14 0:30
memberRob Grainger11-Apr-14 0:30 
GeneralRe: There is nothing new under the sun... Pin
Duncan Edwards Jones11-Apr-14 0:49
professionalDuncan Edwards Jones11-Apr-14 0:49 
GeneralRe: There is nothing new under the sun... Pin
Sander Rossel24-Apr-14 8:42
memberSander Rossel24-Apr-14 8:42 
GeneralHow not to do transaction processing Pin
Rob Grainger9-Apr-14 7:12
memberRob Grainger9-Apr-14 7:12 
GeneralRe: How not to do transaction processing Pin
Duncan Edwards Jones9-Apr-14 8:13
professionalDuncan Edwards Jones9-Apr-14 8:13 
GeneralRe: How not to do transaction processing Pin
Rob Grainger10-Apr-14 5:12
memberRob Grainger10-Apr-14 5:12 
GeneralRe: How not to do transaction processing Pin
W Balboos11-Apr-14 2:14
memberW Balboos11-Apr-14 2:14 
GeneralRe: How not to do transaction processing Pin
clawton9-Apr-14 13:30
memberclawton9-Apr-14 13:30 
GeneralRe: How not to do transaction processing Pin
BobJanova10-Apr-14 0:39
memberBobJanova10-Apr-14 0:39 
GeneralRe: How not to do transaction processing Pin
Rob Grainger10-Apr-14 5:14
memberRob Grainger10-Apr-14 5:14 
RantI just can't take it no more! Pin
Super Lloyd9-Apr-14 1:10
memberSuper Lloyd9-Apr-14 1:10 
GeneralRe: I just can't take it no more! Pin
Duncan Edwards Jones9-Apr-14 1:20
professionalDuncan Edwards Jones9-Apr-14 1:20 
GeneralRe: I just can't take it no more! Pin
Sentenryu9-Apr-14 1:23
memberSentenryu9-Apr-14 1:23 
GeneralRe: I just can't take it no more! Pin
Duncan Edwards Jones9-Apr-14 1:42
professionalDuncan Edwards Jones9-Apr-14 1:42 
GeneralRe: I just can't take it no more! Pin
Sentenryu9-Apr-14 2:13
memberSentenryu9-Apr-14 2:13 
GeneralRe: I just can't take it no more! Pin
Duncan Edwards Jones9-Apr-14 2:21
professionalDuncan Edwards Jones9-Apr-14 2:21 
GeneralRe: I just can't take it no more! Pin
Super Lloyd9-Apr-14 16:11
memberSuper Lloyd9-Apr-14 16:11 
GeneralRe: I just can't take it no more! Pin
Sentenryu10-Apr-14 1:43
memberSentenryu10-Apr-14 1:43 
GeneralRe: I just can't take it no more! Pin
RyanDev9-Apr-14 2:24
mvpRyanDev9-Apr-14 2:24 
GeneralRe: I just can't take it no more! Pin
PIEBALDconsult9-Apr-14 4:15
memberPIEBALDconsult9-Apr-14 4:15 
GeneralRe: I just can't take it no more! Pin
Super Lloyd9-Apr-14 16:12
memberSuper Lloyd9-Apr-14 16:12 
GeneralRe: I just can't take it no more! Pin
V.11-Apr-14 1:00
professionalV.11-Apr-14 1:00 
GeneralRe: I just can't take it no more! Pin
Super Lloyd12-Apr-14 20:28
memberSuper Lloyd12-Apr-14 20:28 
GeneralRe: I just can't take it no more! Pin
Super Lloyd12-Apr-14 20:30
memberSuper Lloyd12-Apr-14 20:30 
GeneralRe: I just can't take it no more! Pin
V.12-Apr-14 21:17
professionalV.12-Apr-14 21:17 
GeneralThis did not serve it's intended purpose Pin
0bx3-Apr-14 5:04
member0bx3-Apr-14 5:04 
GeneralRe: This did not serve it's intended purpose Pin
OriginalGriff3-Apr-14 5:08
protectorOriginalGriff3-Apr-14 5:08 
GeneralRe: This did not serve it's intended purpose Pin
mikepwilson3-Apr-14 5:26
membermikepwilson3-Apr-14 5:26 

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
Web03 | 2.8.150520.1 | Last Updated 22 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid