Click here to Skip to main content
13,259,779 members (55,692 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: Lets poll no matter what time of the day Pin
Bernhard Hiller23-Oct-13 21:51
professionalBernhard Hiller23-Oct-13 21:51 
GeneralRe: Lets poll no matter what time of the day Pin
Kornfeld Eliyahu Peter23-Oct-13 22:02
professionalKornfeld Eliyahu Peter23-Oct-13 22:02 
GeneralRe: Lets poll no matter what time of the day Pin
OriginalGriff23-Oct-13 22:25
protectorOriginalGriff23-Oct-13 22:25 
GeneralI don't know how to label this pattern. Pin
Andy Brummer23-Oct-13 12:54
sitebuilderAndy Brummer23-Oct-13 12:54 
GeneralRe: I don't know how to label this pattern. Pin
Brisingr Aerowing23-Oct-13 13:54
professionalBrisingr Aerowing23-Oct-13 13:54 
GeneralRe: I don't know how to label this pattern. Pin
Andy Brummer23-Oct-13 16:58
sitebuilderAndy Brummer23-Oct-13 16:58 
GeneralRe: I don't know how to label this pattern. Pin
Freak3023-Oct-13 23:43
memberFreak3023-Oct-13 23:43 
GeneralCatastrophic Failure! Pin
Brisingr Aerowing18-Oct-13 12:15
professionalBrisingr Aerowing18-Oct-13 12: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! Pin
PIEBALDconsult18-Oct-13 14:27
professionalPIEBALDconsult18-Oct-13 14:27 
JokeRe: Catastrophic Failure! Pin
Matt T Heffron18-Oct-13 14:51
professionalMatt T Heffron18-Oct-13 14:51 
GeneralRe: Catastrophic Failure! Pin
PIEBALDconsult18-Oct-13 15:04
professionalPIEBALDconsult18-Oct-13 15:04 
GeneralRe: Catastrophic Failure! Pin
Brisingr Aerowing18-Oct-13 15:25
professionalBrisingr Aerowing18-Oct-13 15:25 
GeneralRe: Catastrophic Failure! Pin
vonb22-Oct-13 2:07
professionalvonb22-Oct-13 2:07 
GeneralRe: Catastrophic Failure! Pin
Argonia23-Oct-13 5:49
memberArgonia23-Oct-13 5:49 
GeneralRe: Catastrophic Failure! Pin
Brisingr Aerowing23-Oct-13 13:55
professionalBrisingr Aerowing23-Oct-13 13:55 
GeneralRe: Catastrophic Failure! Pin
BillW335-Nov-13 5:35
professionalBillW335-Nov-13 5:35 
GeneralRe: Catastrophic Failure! Pin
Sentenryu5-Nov-13 7:12
memberSentenryu5-Nov-13 7:12 
GeneralRe: Catastrophic Failure! Pin
BillW335-Nov-13 9:46
professionalBillW335-Nov-13 9:46 
GeneralRe: Catastrophic Failure! Pin
patbob21-Feb-14 6:20
memberpatbob21-Feb-14 6:20 
GeneralWhy bother with any other exception data? The message should suffice. Pin
yiangos17-Oct-13 5:16
professionalyiangos17-Oct-13 5:16 
GeneralRe: Why bother with any other exception data? The message should suffice. Pin
Sentenryu18-Oct-13 2:06
memberSentenryu18-Oct-13 2:06 
GeneralRe: Why bother with any other exception data? The message should suffice. Pin
yiangos23-Oct-13 7:57
professionalyiangos23-Oct-13 7:57 
JokeRe: Why bother with any other exception data? The message should suffice. Pin
RyanDev18-Oct-13 6:15
memberRyanDev18-Oct-13 6:15 
GeneralRe: Why bother with any other exception data? The message should suffice. Pin
Jacek Gajek19-Oct-13 6:12
memberJacek Gajek19-Oct-13 6:12 
GeneralRe: Why bother with any other exception data? The message should suffice. Pin
yiangos23-Oct-13 7:51
professionalyiangos23-Oct-13 7:51 

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 |
Web04 | 2.8.171114.1 | Last Updated 24 Nov 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid