Click here to Skip to main content
15,909,897 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: WriteOnly Pin
Russell Jones21-Apr-08 5:06
Russell Jones21-Apr-08 5:06 
GeneralRe: WriteOnly Pin
elektrowolf18-Apr-08 9:38
elektrowolf18-Apr-08 9:38 
GeneralRe: WriteOnly Pin
Ed.Poore17-Apr-08 1:09
Ed.Poore17-Apr-08 1:09 
GeneralRe: WriteOnly Pin
The Cake of Deceit18-Apr-08 1:23
The Cake of Deceit18-Apr-08 1:23 
GeneralRe: WriteOnly Pin
Dave Kreskowiak17-Apr-08 4:36
mveDave Kreskowiak17-Apr-08 4:36 
GeneralRe: WriteOnly Pin
The Cake of Deceit17-Apr-08 10:03
The Cake of Deceit17-Apr-08 10:03 
GeneralRe: WriteOnly Pin
Dan Neely17-Apr-08 10:47
Dan Neely17-Apr-08 10:47 
GeneralRe: WriteOnly Pin
Dave Kreskowiak17-Apr-08 10:50
mveDave Kreskowiak17-Apr-08 10:50 
Alpha Nerd wrote:
It turns them into black holes, and a /dev/null is one too.


Not quite. It turns a property into something akin to a voting box. You put your vote in, and there's no way to get it out. The class the property is defined in gets to do whatever it needs to with the data that comes in.

In a "blackhole" null device, there isn't any processing allowable on the bits that end up in there...


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




JokeRe: WriteOnly Pin
Luc Pattyn17-Apr-08 11:22
sitebuilderLuc Pattyn17-Apr-08 11:22 
JokeRe: WriteOnly Pin
Dave Kreskowiak18-Apr-08 1:35
mveDave Kreskowiak18-Apr-08 1:35 
GeneralRe: WriteOnly Pin
Luc Pattyn18-Apr-08 4:53
sitebuilderLuc Pattyn18-Apr-08 4:53 
GeneralRe: WriteOnly Pin
Dave Kreskowiak18-Apr-08 10:24
mveDave Kreskowiak18-Apr-08 10:24 
GeneralRe: WriteOnly Pin
Luc Pattyn18-Apr-08 10:53
sitebuilderLuc Pattyn18-Apr-08 10:53 
GeneralRe: WriteOnly Pin
CPallini18-Apr-08 1:37
mveCPallini18-Apr-08 1:37 
GeneralRe: WriteOnly Pin
The Cake of Deceit18-Apr-08 0:08
The Cake of Deceit18-Apr-08 0:08 
GeneralRe: WriteOnly Pin
The Cake of Deceit18-Apr-08 2:38
The Cake of Deceit18-Apr-08 2:38 
GeneralRe: WriteOnly Pin
Vasudevan Deepak Kumar18-Apr-08 2:10
Vasudevan Deepak Kumar18-Apr-08 2:10 
GeneralRe: WriteOnly Pin
Dr.Walt Fair, PE18-Apr-08 9:50
professionalDr.Walt Fair, PE18-Apr-08 9:50 
GeneralRe: WriteOnly Pin
PIEBALDconsult18-Apr-08 10:55
mvePIEBALDconsult18-Apr-08 10:55 
GeneralRe: WriteOnly Pin
CDP180223-Apr-08 1:24
CDP180223-Apr-08 1:24 
GeneralDoes this count? Pin
jamie5505-Apr-08 4:20
jamie5505-Apr-08 4:20 
JokeRe: Does this count? Pin
Luc Pattyn5-Apr-08 5:03
sitebuilderLuc Pattyn5-Apr-08 5:03 
GeneralRe: Does this count? Pin
jamie5505-Apr-08 5:10
jamie5505-Apr-08 5:10 
GeneralRe: Does this count? Pin
Luc Pattyn5-Apr-08 5:28
sitebuilderLuc Pattyn5-Apr-08 5:28 
GeneralRe: Does this count? Pin
jamie5505-Apr-08 5:34
jamie5505-Apr-08 5:34 

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.