Click here to Skip to main content
15,887,214 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: Constructor reading Session Variables Pin
GibbleCH8-Sep-10 3:52
GibbleCH8-Sep-10 3:52 
GeneralRe: Constructor reading Session Variables Pin
Richard A. Dalton8-Sep-10 4:08
Richard A. Dalton8-Sep-10 4:08 
GeneralRe: Constructor reading Session Variables Pin
hammerstein058-Sep-10 6:39
hammerstein058-Sep-10 6:39 
GeneralRe: Constructor reading Session Variables Pin
Kunal Chowdhury «IN»11-Sep-10 22:03
professionalKunal Chowdhury «IN»11-Sep-10 22:03 
GeneralRe: Constructor reading Session Variables Pin
PIEBALDconsult8-Sep-10 4:05
mvePIEBALDconsult8-Sep-10 4:05 
GeneralRe: Constructor reading Session Variables Pin
Ian Shlasko8-Sep-10 4:51
Ian Shlasko8-Sep-10 4:51 
GeneralRe: Constructor reading Session Variables Pin
Richard A. Dalton8-Sep-10 5:23
Richard A. Dalton8-Sep-10 5:23 
GeneralRe: Constructor reading Session Variables Pin
CDP18029-Sep-10 0:55
CDP18029-Sep-10 0:55 
How true. Did I ever mention the problems caused by a great thinker who stored dynamically created ASP.Net controls in the session?

The session state is member of the page object. The entries in the session state are controls, which again have a reference to the page. Circle complete. Now, what was this about a garbage collection and when exactly does it clean up?
A while ago he asked me what he should have printed on my business cards. I said 'Wizard'.

I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

GeneralRe: Constructor reading Session Variables Pin
Andrew Rissing9-Sep-10 4:21
Andrew Rissing9-Sep-10 4:21 
GeneralRe: Constructor reading Session Variables Pin
Kunal Chowdhury «IN»11-Sep-10 22:02
professionalKunal Chowdhury «IN»11-Sep-10 22:02 
GeneralWhere is the exit? PinPopular
red_moon6-Sep-10 2:46
red_moon6-Sep-10 2:46 
GeneralRe: Where is the exit? Pin
DaveAuld6-Sep-10 3:16
professionalDaveAuld6-Sep-10 3:16 
GeneralRe: Where is the exit? Pin
red_moon6-Sep-10 6:42
red_moon6-Sep-10 6:42 
AnswerRe: Where is the exit? Pin
Kunal Chowdhury «IN»6-Sep-10 18:46
professionalKunal Chowdhury «IN»6-Sep-10 18:46 
GeneralRe: Where is the exit? Pin
DaveAuld7-Sep-10 23:47
professionalDaveAuld7-Sep-10 23:47 
GeneralRe: Where is the exit? Pin
Kunal Chowdhury «IN»7-Sep-10 23:50
professionalKunal Chowdhury «IN»7-Sep-10 23:50 
GeneralRe: Where is the exit? Pin
phil.o7-Sep-10 0:20
professionalphil.o7-Sep-10 0:20 
GeneralRe: Where is the exit? PinPopular
PIEBALDconsult6-Sep-10 5:23
mvePIEBALDconsult6-Sep-10 5:23 
GeneralRe: Where is the exit? Pin
OriginalGriff6-Sep-10 8:14
mveOriginalGriff6-Sep-10 8:14 
AnswerRe: Where is the exit? Pin
Luc Pattyn6-Sep-10 8:25
sitebuilderLuc Pattyn6-Sep-10 8:25 
GeneralRe: Where is the exit? Pin
OriginalGriff6-Sep-10 8:35
mveOriginalGriff6-Sep-10 8:35 
GeneralRe: Where is the exit? Pin
RugbyLeague7-Sep-10 3:57
RugbyLeague7-Sep-10 3:57 
JokeRe: Where is the exit? Pin
AspDotNetDev7-Sep-10 12:42
protectorAspDotNetDev7-Sep-10 12:42 
General65K Lines of Code Pin
ch3ckmat32-Sep-10 1:33
ch3ckmat32-Sep-10 1:33 
GeneralRe: 65K Lines of Code PinPopular
AspDotNetDev2-Sep-10 5:09
protectorAspDotNetDev2-Sep-10 5:09 

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.