Click here to Skip to main content
13,764,928 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: Well - its not private any more... Pin
Brisingr Aerowing11-Apr-18 13:44
professionalBrisingr Aerowing11-Apr-18 13:44 
GeneralWhy use the correct exception type? PinPopular
Chris Maunder23-Mar-18 15:13
adminChris Maunder23-Mar-18 15:13 
AnswerRe: Why use the correct exception type? Pin
Peter_in_278023-Mar-18 15:49
professionalPeter_in_278023-Mar-18 15:49 
GeneralRe: Why use the correct exception type? Pin
Chris Maunder24-Mar-18 0:14
adminChris Maunder24-Mar-18 0:14 
GeneralRe: Why use the correct exception type? Pin
raddevus26-Mar-18 10:07
mvpraddevus26-Mar-18 10:07 
GeneralRe: Why use the correct exception type? Pin
Mycroft Holmes26-Mar-18 15:30
memberMycroft Holmes26-Mar-18 15:30 
JokeRe: Why use the correct exception type? Pin
raddevus27-Mar-18 3:23
mvpraddevus27-Mar-18 3:23 
GeneralRe: Why use the correct exception type? Pin
Bruce Patin29-Mar-18 4:44
memberBruce Patin29-Mar-18 4:44 
I grew up learning: "If at first you don't succeed, try, try again."
That philosophy has done well for me.

Now, when I suggest it to my teenage son, I get "The definition of insanity is trying the same thing over and over and expecting a different result."
It's really a way to get out of trying to do a good job.
GeneralRe: Why use the correct exception type? Pin
littleGreenDude3-Apr-18 11:13
memberlittleGreenDude3-Apr-18 11:13 
GeneralRe: Why use the correct exception type? Pin
Walt Fair, Jr.12-Apr-18 10:40
professionalWalt Fair, Jr.12-Apr-18 10:40 
GeneralRe: Why use the correct exception type? Pin
GuyThiebaut25-Mar-18 9:00
professionalGuyThiebaut25-Mar-18 9:00 
GeneralRe: Why use the correct exception type? Pin
phil.o23-Mar-18 16:41
professionalphil.o23-Mar-18 16:41 
GeneralRe: Why use the correct exception type? Pin
Smart K814-Apr-18 2:20
professionalSmart K814-Apr-18 2:20 
GeneralRe: Why use the correct exception type? Pin
RickZeeland23-Mar-18 21:00
mvpRickZeeland23-Mar-18 21:00 
GeneralRe: Why use the correct exception type? Pin
Jörgen Andersson24-Mar-18 23:11
protectorJörgen Andersson24-Mar-18 23:11 
GeneralRe: Why use the correct exception type? Pin
Chris Maunder25-Mar-18 1:06
adminChris Maunder25-Mar-18 1:06 
GeneralRe: Why use the correct exception type? Pin
Jörgen Andersson25-Mar-18 4:23
protectorJörgen Andersson25-Mar-18 4:23 
GeneralRe: Why use the correct exception type? Pin
Chris Maunder25-Mar-18 12:49
adminChris Maunder25-Mar-18 12:49 
GeneralRe: Why use the correct exception type? Pin
Jörgen Andersson25-Mar-18 12:54
protectorJörgen Andersson25-Mar-18 12:54 
GeneralRe: Why use the correct exception type? Pin
Chris Maunder25-Mar-18 13:07
adminChris Maunder25-Mar-18 13:07 
GeneralRe: Why use the correct exception type? Pin
Sentenryu29-Mar-18 2:17
memberSentenryu29-Mar-18 2:17 
GeneralRe: Why use the correct exception type? Pin
Slacker00726-Mar-18 2:18
professionalSlacker00726-Mar-18 2:18 
GeneralRe: Why use the correct exception type? Pin
Bernhard Hiller26-Mar-18 3:04
memberBernhard Hiller26-Mar-18 3:04 
GeneralRe: Why use the correct exception type? Pin
F-ES Sitecore26-Mar-18 4:22
mvpF-ES Sitecore26-Mar-18 4:22 
GeneralRe: Why use the correct exception type? Pin
Slacker00726-Mar-18 7:51
professionalSlacker00726-Mar-18 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 | Cookies | Terms of Service
Web01-2016 | 2.8.181114.1 | Last Updated 14 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid