Click here to Skip to main content
15,884,064 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: Enhancing the bugs Pin
Dr.Walt Fair, PE5-Mar-13 7:02
professionalDr.Walt Fair, PE5-Mar-13 7:02 
GeneralSomeone is sure that availability check is performed no matter what Pin
krumia28-Feb-13 18:15
krumia28-Feb-13 18:15 
GeneralRe: Someone is sure that availability check is performed no matter what Pin
Kevin Drzycimski28-Feb-13 20:23
Kevin Drzycimski28-Feb-13 20:23 
GeneralRe: Someone is sure that availability check is performed no matter what Pin
Bernhard Hiller28-Feb-13 20:41
Bernhard Hiller28-Feb-13 20:41 
GeneralRe: Someone is sure that availability check is performed no matter what Pin
Lee Venkatsamy9-Apr-13 4:13
Lee Venkatsamy9-Apr-13 4:13 
GeneralREMOVED Pin
Brisingr Aerowing24-Feb-13 7:59
professionalBrisingr Aerowing24-Feb-13 7:59 
GeneralRe: Well then. Pin
PIEBALDconsult25-Feb-13 12:59
mvePIEBALDconsult25-Feb-13 12:59 
GeneralRe: Well then. Pin
Shaheed Legion26-Feb-13 6:35
Shaheed Legion26-Feb-13 6:35 
I think it works be cause the constructor and initialization sections both return a reference to the newly constructed object. But trying to call another function at the end will not work since the show function does not return a reference to the object.
For awesome websites or just to chat check out my blog for more info. . .

GeneralRe: Well then. Pin
dan!sh 12-Mar-13 19:52
professional dan!sh 12-Mar-13 19:52 
GeneralMessage Closed Pin
13-Mar-13 3:09
professionalBrisingr Aerowing13-Mar-13 3:09 
GeneralRe: Well then. Pin
dan!sh 13-Mar-13 3:23
professional dan!sh 13-Mar-13 3:23 
GeneralSometimes I wonder about code comments PinPopular
Marco Bertschi19-Feb-13 1:49
protectorMarco Bertschi19-Feb-13 1:49 
GeneralRe: Sometimes I wonder about code comments Pin
PIEBALDconsult19-Feb-13 3:36
mvePIEBALDconsult19-Feb-13 3:36 
GeneralRe: Sometimes I wonder about code comments Pin
Marco Bertschi19-Feb-13 3:41
protectorMarco Bertschi19-Feb-13 3:41 
GeneralRe: Sometimes I wonder about code comments Pin
PIEBALDconsult19-Feb-13 3:57
mvePIEBALDconsult19-Feb-13 3:57 
GeneralRe: Sometimes I wonder about code comments Pin
Marco Bertschi19-Feb-13 4:12
protectorMarco Bertschi19-Feb-13 4:12 
GeneralMessage Removed Pin
19-Feb-13 4:16
professionalN_tro_P19-Feb-13 4:16 
GeneralRe: Sometimes I wonder about code comments Pin
Marco Bertschi19-Feb-13 4:36
protectorMarco Bertschi19-Feb-13 4:36 
GeneralRe: Sometimes I wonder about code comments Pin
SoMad19-Feb-13 9:56
professionalSoMad19-Feb-13 9:56 
GeneralRe: Sometimes I wonder about code comments Pin
PIEBALDconsult19-Feb-13 12:59
mvePIEBALDconsult19-Feb-13 12:59 
GeneralRe: Sometimes I wonder about code comments Pin
Bernhard Hiller19-Feb-13 22:04
Bernhard Hiller19-Feb-13 22:04 
GeneralRe: Sometimes I wonder about code comments Pin
Marco Bertschi20-Feb-13 9:56
protectorMarco Bertschi20-Feb-13 9:56 
GeneralRe: Sometimes I wonder about code comments Pin
BobJanova20-Feb-13 4:12
BobJanova20-Feb-13 4:12 
GeneralRe: Sometimes I wonder about code comments Pin
krumia3-Mar-13 5:35
krumia3-Mar-13 5:35 
RantRe: Sometimes I wonder about code comments Pin
Super Lloyd4-Mar-13 13:32
Super Lloyd4-Mar-13 13:32 

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.