Click here to Skip to main content

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 PinmemberGiuseppe Tollini24-May-14 1:05 
GeneralRe: #region PinprofessionalBernhard Hiller29-May-14 20:59 
GeneralHow not to create an instance of a singleton PinprofessionalDennis_E10-Apr-14 23:59 
JokeRe: How not to create an instance of a singleton PinprofessionalNicholas Marty11-Apr-14 0:25 
GeneralRe: How not to create an instance of a singleton PinprotectorMarc Clifton11-Apr-14 1:40 
GeneralRe: How not to create an instance of a singleton PinprofessionalNicholas Marty11-Apr-14 3:16 
GeneralRe: How not to create an instance of a singleton PinprotectorMarc Clifton11-Apr-14 4:52 
GeneralRe: How not to create an instance of a singleton PinprofessionalDennis_E24-Apr-14 1:16 
GeneralRe: How not to create an instance of a singleton PinprofessionalNicholas Marty24-Apr-14 3:20 
GeneralRe: How not to create an instance of a singleton PinmemberBobJanova11-Apr-14 6:50 
GeneralRe: How not to create an instance of a singleton PinprofessionalBernhard Hiller11-Apr-14 2:21 
GeneralRe: How not to create an instance of a singleton PinprotectorOriginalGriff11-Apr-14 5:42 
GeneralRe: How not to create an instance of a singleton PinmemberJacek Gajek29-Apr-14 10:51 
GeneralThere is nothing new under the sun... PinprofessionalDuncan Edwards Jones9-Apr-14 7:22 
Public Sub New()
    MyBase.New
End Sub
 
Sort of implied anyway - but the fun fact is that the class that has this constructor doesn't actually explicitly inherit anything...so Mybase is object.
 
(Fortunately the compiler just ignores this so no actual harm done)
GeneralRe: There is nothing new under the sun... PinmemberI.explore.code9-Apr-14 7:41 
GeneralRe: There is nothing new under the sun... PinadminChris Maunder9-Apr-14 7:55 
GeneralRe: There is nothing new under the sun... PinprofessionalKornfeld Eliyahu Peter9-Apr-14 10:05 
GeneralRe: There is nothing new under the sun... PinmemberRob Grainger10-Apr-14 23:30 
GeneralRe: There is nothing new under the sun... PinprofessionalDuncan Edwards Jones10-Apr-14 23:49 
GeneralRe: There is nothing new under the sun... PinmemberSander Rossel24-Apr-14 7:42 
GeneralHow not to do transaction processing PinmemberRob Grainger9-Apr-14 6:12 
GeneralRe: How not to do transaction processing PinprofessionalDuncan Edwards Jones9-Apr-14 7:13 
GeneralRe: How not to do transaction processing PinmemberRob Grainger10-Apr-14 4:12 
GeneralRe: How not to do transaction processing PinmemberW Balboos11-Apr-14 1:14 
GeneralRe: How not to do transaction processing Pinmemberclawton9-Apr-14 12:30 
GeneralRe: How not to do transaction processing PinmemberBobJanova9-Apr-14 23:39 
GeneralRe: How not to do transaction processing PinmemberRob Grainger10-Apr-14 4:14 
RantI just can't take it no more! PinmemberSuper Lloyd9-Apr-14 0:10 
GeneralRe: I just can't take it no more! PinprofessionalDuncan Edwards Jones9-Apr-14 0:20 
GeneralRe: I just can't take it no more! PinmemberSentenryu9-Apr-14 0:23 
GeneralRe: I just can't take it no more! PinprofessionalDuncan Edwards Jones9-Apr-14 0:42 
GeneralRe: I just can't take it no more! PinmemberSentenryu9-Apr-14 1:13 
GeneralRe: I just can't take it no more! PinprofessionalDuncan Edwards Jones9-Apr-14 1:21 
GeneralRe: I just can't take it no more! PinmemberSuper Lloyd9-Apr-14 15:11 
GeneralRe: I just can't take it no more! PinmemberSentenryu10-Apr-14 0:43 
GeneralRe: I just can't take it no more! PinmvpRyanDev9-Apr-14 1:24 
GeneralRe: I just can't take it no more! PinmemberPIEBALDconsult9-Apr-14 3:15 
GeneralRe: I just can't take it no more! PinmemberSuper Lloyd9-Apr-14 15:12 
GeneralRe: I just can't take it no more! PinprofessionalV.11-Apr-14 0:00 
GeneralRe: I just can't take it no more! PinmemberSuper Lloyd12-Apr-14 19:28 
GeneralRe: I just can't take it no more! PinmemberSuper Lloyd12-Apr-14 19:30 
GeneralRe: I just can't take it no more! PinprofessionalV.12-Apr-14 20:17 
GeneralThis did not serve it's intended purpose Pinmember0bx3-Apr-14 4:04 
GeneralRe: This did not serve it's intended purpose PinprotectorOriginalGriff3-Apr-14 4:08 
GeneralRe: This did not serve it's intended purpose Pinmembermikepwilson3-Apr-14 4:26 
GeneralRe: This did not serve it's intended purpose PinprofessionalDuncan Edwards Jones3-Apr-14 4:29 
GeneralRe: This did not serve it's intended purpose PinmemberAdam R Harris3-Apr-14 5:41 
GeneralTight disposing of objects in an old project [modified] PinmemberSanjay K. Gupta2-Apr-14 1:57 
GeneralRe: Tight disposing of objects in an old project PinmvpDave Kreskowiak2-Apr-14 2:21 
GeneralRe: Tight disposing of objects in an old project PinprofessionalBernhard Hiller2-Apr-14 21:53 

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.140926.1 | Last Updated 30 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid