Click here to Skip to main content
15,918,742 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: I wonder!!!! Pin
Thomas Weller7-Nov-08 3:45
Thomas Weller7-Nov-08 3:45 
GeneralRe: I wonder!!!! Pin
AhsanS6-Nov-08 18:23
AhsanS6-Nov-08 18:23 
GeneralRe: I wonder!!!! Pin
Thomas Weller6-Nov-08 18:48
Thomas Weller6-Nov-08 18:48 
GeneralRe: I wonder!!!! Pin
AhsanS7-Nov-08 0:56
AhsanS7-Nov-08 0:56 
GeneralRe: I wonder!!!! Pin
Thomas Weller7-Nov-08 2:33
Thomas Weller7-Nov-08 2:33 
GeneralRe: I wonder!!!! Pin
AhsanS7-Nov-08 8:13
AhsanS7-Nov-08 8:13 
GeneralRe: I wonder!!!! Pin
Thomas Weller7-Nov-08 8:39
Thomas Weller7-Nov-08 8:39 
GeneralRe: I wonder!!!! Pin
Megidolaon23-Feb-09 0:00
Megidolaon23-Feb-09 0:00 
Actually this doesn't force the developer to do anythin, on the contrary. It allows to use simple class names instead of full class names.
If you hvae a name that can refer to more thsn 1 class, you get a compiler error and forced to use the full name, regardless of usings.

But usings that are not use at the beginning of the file but at the beginning of a namespace sounds like more like an accident than anythign else.
GeneralRe: I wonder!!!! Pin
Paul Conrad6-Nov-08 7:45
professionalPaul Conrad6-Nov-08 7:45 
GeneralRe: I wonder!!!! Pin
PIEBALDconsult6-Nov-08 14:33
mvePIEBALDconsult6-Nov-08 14:33 
GeneralRe: I wonder!!!! Pin
AhsanS6-Nov-08 18:24
AhsanS6-Nov-08 18:24 
GeneralRe: I wonder!!!! Pin
notmasteryet10-Dec-08 7:20
notmasteryet10-Dec-08 7:20 
Generalsomeone who does not trust arithmetic Pin
shadayim4-Nov-08 0:44
shadayim4-Nov-08 0:44 
GeneralRe: someone who does not trust arithmetic Pin
negretrucci4-Nov-08 2:17
negretrucci4-Nov-08 2:17 
GeneralRe: someone who does not trust arithmetic Pin
Russell Jones4-Nov-08 2:46
Russell Jones4-Nov-08 2:46 
GeneralRe: someone who does not trust arithmetic Pin
Thomas Weller4-Nov-08 3:08
Thomas Weller4-Nov-08 3:08 
GeneralRe: someone who does not trust arithmetic Pin
Russell Jones4-Nov-08 3:11
Russell Jones4-Nov-08 3:11 
GeneralRe: someone who does not trust arithmetic Pin
Thomas Weller4-Nov-08 3:26
Thomas Weller4-Nov-08 3:26 
GeneralRe: someone who does not trust arithmetic Pin
Andrew Rissing5-Nov-08 4:02
Andrew Rissing5-Nov-08 4:02 
GeneralRe: someone who does not trust arithmetic Pin
cpkilekofp7-Nov-08 5:34
cpkilekofp7-Nov-08 5:34 
GeneralRe: someone who does not trust arithmetic Pin
Jason Lepack (LeppyR64)4-Nov-08 4:22
Jason Lepack (LeppyR64)4-Nov-08 4:22 
GeneralRe: someone who does not trust arithmetic Pin
CPallini4-Nov-08 3:19
mveCPallini4-Nov-08 3:19 
GeneralRe: someone who does not trust arithmetic [modified] Pin
Vincenzo Rossi4-Nov-08 10:28
professionalVincenzo Rossi4-Nov-08 10:28 
GeneralRe: someone who does not trust arithmetic Pin
leppie5-Nov-08 19:50
leppie5-Nov-08 19:50 
GeneralRe: someone who does not trust arithmetic Pin
Vincenzo Rossi7-Nov-08 9:15
professionalVincenzo Rossi7-Nov-08 9:15 

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.