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: Something is not as I expected PinmemberAmitosh Swain20-Jun-13 18:53 
GeneralRe: Something is not as I expected PinprofessionalMohibur Rashid20-Jun-13 23:25 
GeneralRe: Something is not as I expected PinmemberAmitosh Swain20-Jun-13 23:32 
GeneralRe: Something is not as I expected PinmemberRob Grainger24-Jun-13 0:57 
GeneralRe: Something is not as I expected PinmemberMember 467320212-Jul-13 14:11 
GeneralEverywhere a single Catch block used catching top Exception all times. PinprofessionalMohammed Hameed19-Jun-13 21:28 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pinmembercjb11019-Jun-13 22:13 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalMohammed Hameed19-Jun-13 22:20 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinmemberRob Grainger24-Jun-13 1:02 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinmemberJarek Kruza19-Jun-13 22:56 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalMohammed Hameed19-Jun-13 23:08 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinmemberJarek Kruza20-Jun-13 2:30 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinmemberRob Grainger24-Jun-13 1:04 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalMohammed Hameed24-Jun-13 1:31 
Quote:
Putting exception-handling code in every method is overkill and leads to code being harder to read and maintain.

 
My vote for this statement. Thanks.
http://authenticcode.com

GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinmemberChris Ross 224-Jun-13 3:32 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinmemberRob Grainger24-Jun-13 5:08 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalV.20-Jun-13 0:25 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalMohammed Hameed20-Jun-13 0:56 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pinmembercjb11020-Jun-13 1:12 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalMohammed Hameed20-Jun-13 1:26 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalV.20-Jun-13 1:31 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalMohammed Hameed20-Jun-13 2:11 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalRichard Deeming20-Jun-13 2:36 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalV.20-Jun-13 2:39 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinmemberAnalogNerd24-Jun-13 3:26 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. PinprofessionalMohammed Hameed24-Jun-13 3:37 
GeneralRelational database reinvented as a flat file... Pinmemberjohnsyd19-Jun-13 20:58 
GeneralRe: Relational database reinvented as a flat file... PinprofessionalAlexCode19-Jun-13 21:25 
GeneralRe: Relational database reinvented as a flat file... Pinmemberjohnsyd19-Jun-13 22:22 
GeneralRe: Relational database reinvented as a flat file... PinprofessionalNormDroid19-Jun-13 21:43 
GeneralRe: Relational database reinvented as a flat file... PinprofessionalAlexCode19-Jun-13 22:26 
GeneralRe: Relational database reinvented as a flat file... PinprofessionalRichard Deeming20-Jun-13 2:32 
GeneralRe: Relational database reinvented as a flat file... Pinmemberjim lahey20-Jun-13 2:57 
GeneralWhy stick to just one database? Pinmemberjohnsyd19-Jun-13 18:52 
GeneralRe: Why stick to just one database? Pinmemberkrumia19-Jun-13 18:55 
GeneralRe: Why stick to just one database? Pinmemberjohnsyd19-Jun-13 19:07 
GeneralRe: Why stick to just one database? PinprofessionalPIEBALDconsult19-Jun-13 19:37 
GeneralRe: Why stick to just one database? Pinprofessionalvonb19-Jun-13 20:25 
GeneralRe: Why stick to just one database? PinprofessionalAlexCode19-Jun-13 21:23 
GeneralRe: Why stick to just one database? PinmemberAdriaan Davel19-Jun-13 22:55 
AnswerRe: Why stick to just one database? PinmemberGastonV19-Jun-13 21:28 
GeneralRe: Why stick to just one database? Pinmembercjb11019-Jun-13 22:15 
GeneralRe: Why stick to just one database? Pinmemberjohnsyd25-Jun-13 16:01 
GeneralRe: Why stick to just one database? PinmemberAdriaan Davel19-Jun-13 22:59 
GeneralRe: Why stick to just one database? PinprofessionalRichard Deeming20-Jun-13 2:30 
GeneralRe: Why stick to just one database? Pinmemberjim lahey20-Jun-13 3:04 
GeneralRe: Why stick to just one database? PinmemberNeverJustHere20-Jun-13 20:29 
GeneralRe: Why stick to just one database? Pinmemberjohnsyd25-Jun-13 16:15 
GeneralRe: Why stick to just one database? Pinmemberjohnsyd25-Jun-13 16:10 
GeneralHow To Use Session Variables PinmemberAnalogNerd18-Jun-13 4:43 

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
Web04 | 2.8.150327.1 | Last Updated 28 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid