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: None PinprofessionalRohan Leuva7-Nov-13 17:38 
GeneralRe: None PinmentorKeith Barrow11-Nov-13 22:29 
GeneralIt's taking a while but at least its working its way through that import (comments not added/edited by me) PinmemberJMK8924-Oct-13 22:58 
GeneralBlast you Vilmos and Your Clever Cleverness! [modified] PinprofessionalNagy Vilmos23-Oct-13 23:31 
GeneralRe: Blast you Vilmos and Your Clever Cleverness! PinprofessionalPIEBALDconsult24-Oct-13 17:42 
GeneralLets poll no matter what time of the day Pinmembervirang_2123-Oct-13 13:01 
GeneralRe: Lets poll no matter what time of the day PinprofessionalBernhard Hiller23-Oct-13 20:51 
GeneralRe: Lets poll no matter what time of the day PinprofessionalKornfeld Eliyahu Peter23-Oct-13 21:02 
GeneralRe: Lets poll no matter what time of the day PinprotectorOriginalGriff23-Oct-13 21:25 
GeneralI don't know how to label this pattern. PinsitebuilderAndy Brummer23-Oct-13 11:54 
GeneralRe: I don't know how to label this pattern. PinprofessionalBrisingr Aerowing23-Oct-13 12:54 
GeneralRe: I don't know how to label this pattern. PinsitebuilderAndy Brummer23-Oct-13 15:58 
GeneralRe: I don't know how to label this pattern. PinmemberFreak3023-Oct-13 22:43 
GeneralCatastrophic Failure! PinprofessionalBrisingr Aerowing18-Oct-13 11:15 
I am using this message in one of my applications for things that should never happen (but you never know what may happen with Windows), but I guard against anyways.
 
I also include a 'Guru Meditation GUID' so I can find where the issue happened and try and debug it.
 
An example issue: I put a service in a service manager (that uses Unity IoC Container) and get it out a few lines later. If the service is, for some strange reason, not there, I show a message and terminate the application, as something major went haywire.
Keep Clam And Proofread
--
√(-1) 23 ∑ π...
And it was delicious.

GeneralRe: Catastrophic Failure! PinprofessionalPIEBALDconsult18-Oct-13 13:27 
JokeRe: Catastrophic Failure! PinprofessionalMatt T Heffron18-Oct-13 13:51 
GeneralRe: Catastrophic Failure! PinprofessionalPIEBALDconsult18-Oct-13 14:04 
GeneralRe: Catastrophic Failure! PinprofessionalBrisingr Aerowing18-Oct-13 14:25 
GeneralRe: Catastrophic Failure! Pinprofessionalvonb22-Oct-13 1:07 
GeneralRe: Catastrophic Failure! PinmemberArgonia23-Oct-13 4:49 
GeneralRe: Catastrophic Failure! PinprofessionalBrisingr Aerowing23-Oct-13 12:55 
GeneralRe: Catastrophic Failure! PinprofessionalBillW335-Nov-13 4:35 
GeneralRe: Catastrophic Failure! PinmemberSentenryu5-Nov-13 6:12 
GeneralRe: Catastrophic Failure! PinprofessionalBillW335-Nov-13 8:46 
GeneralRe: Catastrophic Failure! Pinmemberpatbob21-Feb-14 5:20 
GeneralWhy bother with any other exception data? The message should suffice. Pinprofessionalyiangos17-Oct-13 4:16 
GeneralRe: Why bother with any other exception data? The message should suffice. PinmemberSentenryu18-Oct-13 1:06 
GeneralRe: Why bother with any other exception data? The message should suffice. Pinprofessionalyiangos23-Oct-13 6:57 
JokeRe: Why bother with any other exception data? The message should suffice. PinmemberRyanDev18-Oct-13 5:15 
GeneralRe: Why bother with any other exception data? The message should suffice. PinmemberJacek Gajek19-Oct-13 5:12 
GeneralRe: Why bother with any other exception data? The message should suffice. Pinprofessionalyiangos23-Oct-13 6:51 
GeneralRe: Why bother with any other exception data? The message should suffice. PinmemberBill_Hallahan1-Nov-13 17:35 
GeneralWhy care about descriptive names? PinmemberJacek Gajek16-Oct-13 21:34 
JokeRe: Why care about descriptive names? PinmemberKornfeld Eliyahu Peter16-Oct-13 21:47 
GeneralRe: Why care about descriptive names? PinmemberJacek Gajek16-Oct-13 22:03 
GeneralRe: Why care about descriptive names? PinmemberArgonia16-Oct-13 23:28 
GeneralRe: Why care about descriptive names? PinprofessionalNicholas Marty17-Oct-13 4:30 
GeneralRe: Why care about descriptive names? Pinmemberphil.o18-Oct-13 4:12 
GeneralRe: Why care about descriptive names? PinmemberJacek Gajek19-Oct-13 5:18 
GeneralHad a Boss Pinprofessionalmichaelbarb14-Nov-13 8:58 
GeneralExecutable that requires elevation PinmvpMichael Haephrati15-Oct-13 11:21 
GeneralRe: Executable that requires elevation PinprofessionalRichard Deeming15-Oct-13 12:11 
GeneralRe: Executable that requires elevation PinmvpMichael Haephrati15-Oct-13 12:40 
GeneralRe: Executable that requires elevation PinmemberRage15-Oct-13 22:56 
GeneralRe: Executable that requires elevation PinmvpDave Kreskowiak16-Oct-13 1:30 
GeneralRe: Executable that requires elevation PinprofessionalRichard Deeming16-Oct-13 1:45 
GeneralRe: Executable that requires elevation PinmemberDan Neely18-Oct-13 7:14 
GeneralRe: Executable that requires elevation PinprofessionalCIDev18-Oct-13 8:27 
GeneralRe: Executable that requires elevation PinprofessionalCIDev18-Oct-13 8:25 
GeneralRe: Executable that requires elevation PinmemberRob Grainger23-Oct-13 0:55 

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
Web02 | 2.8.140415.2 | Last Updated 18 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid