Click here to Skip to main content
11,703,632 members (67,358 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, 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 original Pin
BCantor13-Aug-13 5:05
memberBCantor13-Aug-13 5:05 
GeneralRe: Something original Pin
Jacek Gajek13-Aug-13 5:51
memberJacek Gajek13-Aug-13 5:51 
GeneralRe: Something original Pin
Brisingr Aerowing19-Aug-13 16:20
professionalBrisingr Aerowing19-Aug-13 16:20 
GeneralRe: Something original Pin
ExcellentOrg21-Aug-13 0:04
groupExcellentOrg21-Aug-13 0:04 
RantFsking ASP.NET! Pin
Richard Deeming6-Aug-13 10:00
professionalRichard Deeming6-Aug-13 10:00 
GeneralRe: Fsking ASP.NET! Pin
Bernhard Hiller6-Aug-13 20:57
professionalBernhard Hiller6-Aug-13 20:57 
GeneralRe: Fsking ASP.NET! Pin
Sentenryu7-Aug-13 9:08
memberSentenryu7-Aug-13 9:08 
GeneralWhen things to more than you think Pin
imagiro6-Aug-13 7:17
memberimagiro6-Aug-13 7:17 
GeneralRe: When things to more than you think Pin
Super Lloyd6-Aug-13 21:13
memberSuper Lloyd6-Aug-13 21:13 
GeneralUndoubtedly this is my own ignorance in glorious action but... Pin
Andy Bantly5-Aug-13 7:52
memberAndy Bantly5-Aug-13 7:52 
GeneralRe: Undoubtedly this is my own ignorance in glorious action but... Pin
Matt U.5-Aug-13 8:10
memberMatt U.5-Aug-13 8:10 
GeneralRe: Undoubtedly this is my own ignorance in glorious action but... Pin
Andy Bantly5-Aug-13 9:22
memberAndy Bantly5-Aug-13 9:22 
GeneralRe: Undoubtedly this is my own ignorance in glorious action but... Pin
Matt U.5-Aug-13 10:02
memberMatt U.5-Aug-13 10:02 
GeneralRe: Undoubtedly this is my own ignorance in glorious action but... Pin
Andy Bantly6-Aug-13 10:54
memberAndy Bantly6-Aug-13 10:54 
As a matter of fact it did. I had to explicitly implement the OnMnemonic function to trap the accelerator and send it along as the character that it was supposed to be. Pretty clunky. I'm surprised that the interoperability is not better but I get that is what happens when HWND based dialogs are mixed with XAML based dialogs.
GeneralSo you think you know what double.Parse does? Pin
harold aptroot2-Aug-13 23:27
memberharold aptroot2-Aug-13 23:27 
GeneralRe: So you think you know what double.Parse does? Pin
PIEBALDconsult3-Aug-13 5:31
professionalPIEBALDconsult3-Aug-13 5:31 
GeneralRe: So you think you know what double.Parse does? Pin
Grimlock4-Aug-13 8:25
professionalGrimlock4-Aug-13 8:25 
GeneralRe: So you think you know what double.Parse does? Pin
harold aptroot4-Aug-13 9:07
memberharold aptroot4-Aug-13 9:07 
GeneralRe: So you think you know what double.Parse does? Pin
Grimlock7-Aug-13 7:38
professionalGrimlock7-Aug-13 7:38 
GeneralRe: So you think you know what double.Parse does? Pin
harold aptroot7-Aug-13 7:51
memberharold aptroot7-Aug-13 7:51 
GeneralRe: So you think you know what double.Parse does? Pin
Rob Grainger15-Aug-13 0:18
memberRob Grainger15-Aug-13 0:18 
GeneralRe: So you think you know what double.Parse does? Pin
Amitosh S.M.4-Aug-13 20:50
memberAmitosh S.M.4-Aug-13 20:50 
GeneralRe: So you think you know what double.Parse does? Pin
Jacek Gajek6-Aug-13 10:56
memberJacek Gajek6-Aug-13 10:56 
GeneralRe: So you think you know what double.Parse does? Pin
harold aptroot6-Aug-13 10:59
memberharold aptroot6-Aug-13 10:59 
GeneralRe: So you think you know what double.Parse does? Pin
Jacek Gajek6-Aug-13 11:15
memberJacek Gajek6-Aug-13 11:15 
GeneralRe: So you think you know what double.Parse does? Pin
ExcellentOrg21-Aug-13 0:07
groupExcellentOrg21-Aug-13 0:07 
GeneralFace, meet palm... Pin
Dave Kreskowiak2-Aug-13 9:45
mvpDave Kreskowiak2-Aug-13 9:45 
GeneralRe: Face, meet palm... Pin
lewax002-Aug-13 10:22
memberlewax002-Aug-13 10:22 
GeneralBest Function Ever Pin
LNogueira2-Aug-13 6:20
memberLNogueira2-Aug-13 6:20 
GeneralRe: Best Function Ever Pin
Sentenryu2-Aug-13 6:44
memberSentenryu2-Aug-13 6:44 
GeneralRe: Best Function Ever Pin
Ravi Bhavnani2-Aug-13 7:08
professionalRavi Bhavnani2-Aug-13 7:08 
GeneralRe: Best Function Ever Pin
ryanb312-Aug-13 8:03
memberryanb312-Aug-13 8:03 
GeneralRe: Best Function Ever Pin
Paul Watt2-Aug-13 7:58
mentorPaul Watt2-Aug-13 7:58 
GeneralRe: Best Function Ever Pin
Andy Bantly5-Aug-13 7:56
memberAndy Bantly5-Aug-13 7:56 
GeneralRe: Best Function Ever Pin
Mohibur Rashid19-Aug-13 17:37
professionalMohibur Rashid19-Aug-13 17:37 
GeneralRe: Best Function Ever Pin
ryanb312-Aug-13 8:05
memberryanb312-Aug-13 8:05 
GeneralRe: Best Function Ever Pin
Mladen Janković2-Aug-13 10:31
memberMladen Janković2-Aug-13 10:31 
GeneralRe: Best Function Ever Pin
Paul Watt5-Aug-13 18:11
mentorPaul Watt5-Aug-13 18:11 
GeneralRe: Best Function Ever Pin
Jacek Gajek14-Aug-13 0:09
memberJacek Gajek14-Aug-13 0:09 
GeneralRe: Best Function Ever Pin
MarkTJohnson6-Aug-13 6:51
memberMarkTJohnson6-Aug-13 6:51 
GeneralRe: Best Function Ever Pin
PIEBALDconsult9-Aug-13 8:03
professionalPIEBALDconsult9-Aug-13 8:03 
GeneralRe: Best Function Ever Pin
BCantor13-Aug-13 5:25
memberBCantor13-Aug-13 5:25 
GeneralRe: Best Function Ever Pin
ExcellentOrg21-Aug-13 0:10
groupExcellentOrg21-Aug-13 0:10 
GeneralRe: Best Function Ever Pin
Super Lloyd7-Aug-13 3:02
memberSuper Lloyd7-Aug-13 3:02 
GeneralRe: Best Function Ever Pin
ExcellentOrg21-Aug-13 0:08
groupExcellentOrg21-Aug-13 0:08 
GeneralThe return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
Dan Neely2-Aug-13 4:42
memberDan Neely2-Aug-13 4:42 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
ryanb312-Aug-13 4:54
memberryanb312-Aug-13 4:54 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
OriginalGriff2-Aug-13 5:38
protectorOriginalGriff2-Aug-13 5:38 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
ryanb312-Aug-13 5:49
memberryanb312-Aug-13 5:49 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
OriginalGriff2-Aug-13 6:03
protectorOriginalGriff2-Aug-13 6:03 

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