Click here to Skip to main content
15,175,525 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 4:38
MemberBuggyTimes25-Sep-13 4:38 
GeneralAnyone see the problem here? Pin
Mardy Git19-Sep-13 23:50
MemberMardy Git19-Sep-13 23:50 
GeneralRe: Anyone see the problem here? Pin
BotCar19-Sep-13 23:57
MemberBotCar19-Sep-13 23:57 
GeneralRe: Anyone see the problem here? Pin
Sentenryu20-Sep-13 3:30
MemberSentenryu20-Sep-13 3:30 
GeneralRe: Anyone see the problem here? Pin
BotCar20-Sep-13 3:51
MemberBotCar20-Sep-13 3:51 
GeneralRe: Anyone see the problem here? Pin
Argonia20-Sep-13 0:50
professionalArgonia20-Sep-13 0:50 
GeneralRe: Anyone see the problem here? Pin
Mardy Git20-Sep-13 0:56
MemberMardy Git20-Sep-13 0:56 
GeneralRe: Anyone see the problem here? Pin
Richard Deeming20-Sep-13 3:01
mveRichard Deeming20-Sep-13 3: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 1:44
professionalPIEBALDconsult21-Sep-13 1:44 
GeneralRe: Anyone see the problem here? Pin
Bernhard Hiller22-Sep-13 23:17
MemberBernhard Hiller22-Sep-13 23:17 
GeneralStoopid me Pin
Marco Bertschi16-Sep-13 5:56
professionalMarco Bertschi16-Sep-13 5:56 
GeneralRe: Stoopid me Pin
Nicholas Marty16-Sep-13 6:29
professionalNicholas Marty16-Sep-13 6:29 
GeneralRe: Stoopid me Pin
Marco Bertschi16-Sep-13 6:32
professionalMarco Bertschi16-Sep-13 6:32 
GeneralRe: Stoopid me Pin
Freak3016-Sep-13 22:27
MemberFreak3016-Sep-13 22:27 
GeneralRe: Stoopid me Pin
Marco Bertschi16-Sep-13 23:11
professionalMarco Bertschi16-Sep-13 23:11 
GeneralRe: Stoopid me Pin
Sentenryu17-Sep-13 1:36
MemberSentenryu17-Sep-13 1:36 
GeneralRe: Stoopid me Pin
Marco Bertschi17-Sep-13 2:27
professionalMarco Bertschi17-Sep-13 2:27 
GeneralRe: Stoopid me Pin
Rob Grainger19-Sep-13 1:34
MemberRob Grainger19-Sep-13 1:34 
Generalsomething weird Pin
C.CoderCreator12-Sep-13 19:00
MemberC.CoderCreator12-Sep-13 19:00 
GeneralRe: something weird Pin
Ron Beyer12-Sep-13 19:18
professionalRon Beyer12-Sep-13 19:18 
GeneralRe: something weird Pin
PIEBALDconsult13-Sep-13 4:50
professionalPIEBALDconsult13-Sep-13 4:50 
GeneralI, Moron Pin
Clodetta del Mar12-Sep-13 7:41
MemberClodetta del Mar12-Sep-13 7:41 
GeneralRe: I, Moron Pin
Nagy Vilmos12-Sep-13 7:52
professionalNagy Vilmos12-Sep-13 7:52 
GeneralRe: I, Moron Pin
Clodetta del Mar12-Sep-13 7:56
MemberClodetta del Mar12-Sep-13 7:56 
GeneralRe: I, Moron Pin
Ron Anders12-Sep-13 7:59
MemberRon Anders12-Sep-13 7: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.