Click here to Skip to main content
15,867,488 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: Not really a question of how-do-I... Pin
BuggyTimes25-Sep-13 3:38
BuggyTimes25-Sep-13 3:38 
GeneralAnyone see the problem here? Pin
Mardy Git19-Sep-13 22:50
Mardy Git19-Sep-13 22:50 
GeneralRe: Anyone see the problem here? Pin
BotCar19-Sep-13 22:57
BotCar19-Sep-13 22:57 
GeneralRe: Anyone see the problem here? Pin
Sentenryu20-Sep-13 2:30
Sentenryu20-Sep-13 2:30 
GeneralRe: Anyone see the problem here? Pin
BotCar20-Sep-13 2:51
BotCar20-Sep-13 2:51 
GeneralRe: Anyone see the problem here? Pin
Argonia19-Sep-13 23:50
professionalArgonia19-Sep-13 23:50 
GeneralRe: Anyone see the problem here? Pin
Mardy Git19-Sep-13 23:56
Mardy Git19-Sep-13 23:56 
GeneralRe: Anyone see the problem here? Pin
Richard Deeming20-Sep-13 2:01
mveRichard Deeming20-Sep-13 2:01 
Mardy Git wrote:
<param name="errorLocation"></param>

Mardy Git wrote:
insertErrorLog(string errorMessage, string errorTrace, string location)

There it is! Poke tongue | ;-P

Also, the lack of documentation for the parameters.
And the camel-case method names. (Public members should always use Pascal case).
And the lower-case namespace "common".
And the underscores in the namespaces "XXXXX_DataAccess" and "XXXXX_CMSTableAdapters".
And the underscore in the class name "XXXXXCMS_TA".

But other than that, it's fine. It's not like a database insert would fail twice in a row, is it? Roll eyes | :rolleyes:



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Anyone see the problem here? Pin
PIEBALDconsult21-Sep-13 0:44
mvePIEBALDconsult21-Sep-13 0:44 
GeneralRe: Anyone see the problem here? Pin
Bernhard Hiller22-Sep-13 22:17
Bernhard Hiller22-Sep-13 22:17 
GeneralStoopid me Pin
Marco Bertschi16-Sep-13 4:56
protectorMarco Bertschi16-Sep-13 4:56 
GeneralRe: Stoopid me Pin
Nicholas Marty16-Sep-13 5:29
professionalNicholas Marty16-Sep-13 5:29 
GeneralRe: Stoopid me Pin
Marco Bertschi16-Sep-13 5:32
protectorMarco Bertschi16-Sep-13 5:32 
GeneralRe: Stoopid me Pin
Freak3016-Sep-13 21:27
Freak3016-Sep-13 21:27 
GeneralRe: Stoopid me Pin
Marco Bertschi16-Sep-13 22:11
protectorMarco Bertschi16-Sep-13 22:11 
GeneralRe: Stoopid me Pin
Sentenryu17-Sep-13 0:36
Sentenryu17-Sep-13 0:36 
GeneralRe: Stoopid me Pin
Marco Bertschi17-Sep-13 1:27
protectorMarco Bertschi17-Sep-13 1:27 
GeneralRe: Stoopid me Pin
Rob Grainger19-Sep-13 0:34
Rob Grainger19-Sep-13 0:34 
Generalsomething weird Pin
C.CoderCreator12-Sep-13 18:00
C.CoderCreator12-Sep-13 18:00 
GeneralRe: something weird Pin
Ron Beyer12-Sep-13 18:18
professionalRon Beyer12-Sep-13 18:18 
GeneralRe: something weird Pin
PIEBALDconsult13-Sep-13 3:50
mvePIEBALDconsult13-Sep-13 3:50 
GeneralI, Moron Pin
Clodetta del Mar12-Sep-13 6:41
Clodetta del Mar12-Sep-13 6:41 
GeneralRe: I, Moron Pin
Nagy Vilmos12-Sep-13 6:52
professionalNagy Vilmos12-Sep-13 6:52 
GeneralRe: I, Moron Pin
Clodetta del Mar12-Sep-13 6:56
Clodetta del Mar12-Sep-13 6:56 
GeneralRe: I, Moron Pin
Ron Anders12-Sep-13 6:59
Ron Anders12-Sep-13 6:59 

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.