Click here to Skip to main content
15,891,653 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: Zero-choice alternative Pin
Thomas Weller31-Jan-09 1:49
Thomas Weller31-Jan-09 1:49 
GeneralRe: Zero-choice alternative Pin
supercat930-Jan-09 17:44
supercat930-Jan-09 17:44 
GeneralRe: Zero-choice alternative Pin
Thomas Weller31-Jan-09 1:50
Thomas Weller31-Jan-09 1:50 
GeneralRe: Zero-choice alternative Pin
itsravie3-Mar-09 0:17
itsravie3-Mar-09 0:17 
GeneralRe: Zero-choice alternative Pin
supercat95-Mar-09 7:17
supercat95-Mar-09 7:17 
GeneralRe: Zero-choice alternative Pin
cpkilekofp2-Feb-09 10:37
cpkilekofp2-Feb-09 10:37 
GeneralRe: Zero-choice alternative Pin
ClementsDan28-Jan-09 13:16
ClementsDan28-Jan-09 13:16 
GeneralRe: Zero-choice alternative Pin
Lutosław28-Jan-09 13:58
Lutosław28-Jan-09 13:58 
ClementsDan wrote:
I think it's just a typo.

In my case the code should be:
if (action == InvalidContentActions.Remove || action == InvalidContentActions.CommentOut)


Greetings - Gajatko

Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

General16 layers of ifs, Who dare challenge this? Pin
kingsimba051119-Jan-09 17:47
kingsimba051119-Jan-09 17:47 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
Malli_S19-Jan-09 20:25
Malli_S19-Jan-09 20:25 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
gri19-Jan-09 21:25
gri19-Jan-09 21:25 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
Malli_S19-Jan-09 23:29
Malli_S19-Jan-09 23:29 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
Dalek Dave19-Jan-09 22:24
professionalDalek Dave19-Jan-09 22:24 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
mav.northwind19-Jan-09 22:59
mav.northwind19-Jan-09 22:59 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
jayart20-Jan-09 5:17
jayart20-Jan-09 5:17 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
John M. Drescher20-Jan-09 5:30
John M. Drescher20-Jan-09 5:30 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
PIEBALDconsult20-Jan-09 6:23
mvePIEBALDconsult20-Jan-09 6:23 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
Chris Maunder20-Jan-09 15:10
cofounderChris Maunder20-Jan-09 15:10 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
Luc Pattyn20-Jan-09 15:49
sitebuilderLuc Pattyn20-Jan-09 15:49 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
PIEBALDconsult20-Jan-09 16:35
mvePIEBALDconsult20-Jan-09 16:35 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
Chris Maunder21-Jan-09 2:08
cofounderChris Maunder21-Jan-09 2:08 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
Phil J Pearson21-Jan-09 2:03
Phil J Pearson21-Jan-09 2:03 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
Chris Maunder21-Jan-09 2:08
cofounderChris Maunder21-Jan-09 2:08 
GeneralGOTOs Pin
supercat921-Jan-09 6:37
supercat921-Jan-09 6:37 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
GibbleCH22-Jan-09 11:21
GibbleCH22-Jan-09 11:21 

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.