Click here to Skip to main content
11,641,971 members (61,122 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: Switch boolean.... (reinventing if, unnecessarily) Pin
cramotowski27-Jun-15 8:40
membercramotowski27-Jun-15 8:40 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
phil.o25-Jun-15 10:23
professionalphil.o25-Jun-15 10:23 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
kmoorevs25-Jun-15 10:59
memberkmoorevs25-Jun-15 10:59 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Sander Rossel25-Jun-15 20:32
professionalSander Rossel25-Jun-15 20:32 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Simon O'Riordan from UK25-Jun-15 22:09
memberSimon O'Riordan from UK25-Jun-15 22:09 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
ScottM125-Jun-15 22:32
memberScottM125-Jun-15 22:32 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Eddy Vluggen25-Jun-15 23:28
professionalEddy Vluggen25-Jun-15 23:28 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Simon O'Riordan from UK25-Jun-15 23:47
memberSimon O'Riordan from UK25-Jun-15 23:47 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Eddy Vluggen26-Jun-15 0:09
professionalEddy Vluggen26-Jun-15 0:09 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Simon O'Riordan from UK26-Jun-15 0:49
memberSimon O'Riordan from UK26-Jun-15 0:49 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Scott Corbett26-Jun-15 2:23
memberScott Corbett26-Jun-15 2:23 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Richard Deeming26-Jun-15 3:23
mvpRichard Deeming26-Jun-15 3:23 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Scott Corbett29-Jun-15 3:14
memberScott Corbett29-Jun-15 3:14 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 1158535826-Jun-15 3:46
memberMember 1158535826-Jun-15 3:46 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Simon O'Riordan from UK28-Jun-15 20:07
memberSimon O'Riordan from UK28-Jun-15 20:07 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
mbb0125-Jun-15 23:41
membermbb0125-Jun-15 23:41 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Daniel Pfeffer26-Jun-15 0:05
professionalDaniel Pfeffer26-Jun-15 0:05 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 990836226-Jun-15 3:08
memberMember 990836226-Jun-15 3:08 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Basketcase Software26-Jun-15 3:33
professionalBasketcase Software26-Jun-15 3:33 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 410629926-Jun-15 4:37
memberMember 410629926-Jun-15 4:37 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 1159491426-Jun-15 5:19
memberMember 1159491426-Jun-15 5:19 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
DanKorn26-Jun-15 9:23
memberDanKorn26-Jun-15 9:23 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 1159491426-Jun-15 10:22
memberMember 1159491426-Jun-15 10:22 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
DanKorn26-Jun-15 11:03
memberDanKorn26-Jun-15 11:03 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 1159491426-Jun-15 13:15
memberMember 1159491426-Jun-15 13:15 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Al Chak27-Jun-15 22:01
memberAl Chak27-Jun-15 22:01 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Richard Deeming29-Jun-15 2:25
mvpRichard Deeming29-Jun-15 2:25 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
chaosworrier_oz29-Jun-15 17:55
memberchaosworrier_oz29-Jun-15 17:55 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
TheGreatAndPowerfulOz30-Jun-15 9:13
memberTheGreatAndPowerfulOz30-Jun-15 9:13 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Jörgen Sigvardsson1-Jul-15 3:44
memberJörgen Sigvardsson1-Jul-15 3:44 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Bernhard Hiller1-Jul-15 8:06
professionalBernhard Hiller1-Jul-15 8:06 
JokeFun with Generic Enum Constraint Pin
Bernhard Hiller9-Jun-15 22:11
professionalBernhard Hiller9-Jun-15 22:11 
GeneralRe: Fun with Generic Enum Constraint Pin
Daniel Pfeffer9-Jun-15 22:29
professionalDaniel Pfeffer9-Jun-15 22:29 
GeneralRe: Fun with Generic Enum Constraint Pin
Agent__0079-Jun-15 22:31
professionalAgent__0079-Jun-15 22:31 
GeneralRe: Fun with Generic Enum Constraint Pin
Brisingr Aerowing10-Jun-15 8:50
professionalBrisingr Aerowing10-Jun-15 8:50 
GeneralRe: Fun with Generic Enum Constraint Pin
Bernhard Hiller12-Jun-15 4:35
professionalBernhard Hiller12-Jun-15 4:35 
GeneralRe: Fun with Generic Enum Constraint Pin
Brisingr Aerowing12-Jun-15 11:31
professionalBrisingr Aerowing12-Jun-15 11:31 
GeneralRe: Fun with Generic Enum Constraint Pin
PIEBALDconsult17-Jun-15 5:00
protectorPIEBALDconsult17-Jun-15 5:00 
GeneralRe: Fun with Generic Enum Constraint Pin
Richard Deeming17-Jun-15 5:45
mvpRichard Deeming17-Jun-15 5:45 
GeneralRe: Fun with Generic Enum Constraint Pin
PIEBALDconsult17-Jun-15 5:56
protectorPIEBALDconsult17-Jun-15 5:56 
GeneralRe: Fun with Generic Enum Constraint Pin
greldak25-Jun-15 21:58
membergreldak25-Jun-15 21:58 
GeneralRe: Fun with Generic Enum Constraint Pin
James Curran1-Jul-15 5:19
memberJames Curran1-Jul-15 5:19 
GeneralWPF ValidationErrors Pin
Bernhard Hiller29-May-15 4:28
professionalBernhard Hiller29-May-15 4:28 
GeneralRe: WPF ValidationErrors Pin
Brisingr Aerowing29-May-15 5:11
professionalBrisingr Aerowing29-May-15 5:11 
JokeRe: WPF ValidationErrors Pin
Leandro Taset29-May-15 5:14
professionalLeandro Taset29-May-15 5:14 
GeneralRe: WPF ValidationErrors Pin
Bernhard Hiller29-May-15 5:35
professionalBernhard Hiller29-May-15 5:35 
GeneralRe: WPF ValidationErrors Pin
Eddy Vluggen29-May-15 5:46
professionalEddy Vluggen29-May-15 5:46 
GeneralRe: WPF ValidationErrors Pin
Brisingr Aerowing29-May-15 6:00
professionalBrisingr Aerowing29-May-15 6:00 
GeneralRe: WPF ValidationErrors Pin
Eddy Vluggen29-May-15 5:43
professionalEddy Vluggen29-May-15 5:43 
GeneralRe: WPF ValidationErrors Pin
Richard Deeming29-May-15 6:08
mvpRichard Deeming29-May-15 6:08 

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