Click here to Skip to main content
15,895,011 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: When professionals don't think Pin
OriginalGriff18-Feb-11 5:41
mveOriginalGriff18-Feb-11 5:41 
GeneralRe: When professionals don't think Pin
Momony22-Feb-11 3:59
Momony22-Feb-11 3:59 
GeneralRe: When professionals don't think Pin
Ravi Sant19-Feb-11 9:23
Ravi Sant19-Feb-11 9:23 
GeneralRe: When professionals don't think Pin
Jörgen Sigvardsson20-Feb-11 8:07
Jörgen Sigvardsson20-Feb-11 8:07 
GeneralRe: When professionals don't think Pin
Keith Barrow20-Feb-11 22:49
professionalKeith Barrow20-Feb-11 22:49 
GeneralRe: When professionals don't think Pin
_Erik_21-Feb-11 5:27
_Erik_21-Feb-11 5:27 
GeneralRe: When professionals don't think Pin
OriginalGriff21-Feb-11 5:29
mveOriginalGriff21-Feb-11 5:29 
Generalseeing a student code PinPopular
kdgupta8716-Feb-11 14:49
kdgupta8716-Feb-11 14:49 
my student write this code, and asking me why it is not working.

String  connectionString="Data Source=asd;Persist Security Info=True;User ID=system;Password=******;Unicode=True"
SqlConnection sql = new SqlConnection(connectionString);
sql.open();


it takes me a gr8 time to explain why he cant give password value ****** in a cs codefile. he just got the connectionString from database properties and think ****** is password
GeneralRe: seeing a student code Pin
_Damian S_16-Feb-11 15:42
professional_Damian S_16-Feb-11 15:42 
GeneralRe: seeing a student code Pin
Jeroen De Dauw17-Feb-11 4:47
Jeroen De Dauw17-Feb-11 4:47 
GeneralRe: seeing a student code Pin
kdgupta8717-Feb-11 5:29
kdgupta8717-Feb-11 5:29 
GeneralRe: seeing a student code Pin
Ed Nutting21-Feb-11 1:54
Ed Nutting21-Feb-11 1:54 
GeneralRe: seeing a student code Pin
OriginalGriff21-Feb-11 2:49
mveOriginalGriff21-Feb-11 2:49 
GeneralRe: seeing a student code Pin
kdgupta8721-Feb-11 3:36
kdgupta8721-Feb-11 3:36 
GeneralRe: seeing a student code Pin
musefan17-Feb-11 5:24
musefan17-Feb-11 5:24 
GeneralRe: seeing a student code Pin
kdgupta8717-Feb-11 5:31
kdgupta8717-Feb-11 5:31 
GeneralCan you top that? PinPopular
peterchen15-Feb-11 6:00
peterchen15-Feb-11 6:00 
GeneralRe: Can you top that? Pin
Vladimir Svyatski15-Feb-11 10:10
professionalVladimir Svyatski15-Feb-11 10:10 
GeneralRe: Can you top that? Pin
Single Step Debugger15-Feb-11 10:39
Single Step Debugger15-Feb-11 10:39 
GeneralRe: Can you top that? Pin
peterchen15-Feb-11 19:34
peterchen15-Feb-11 19:34 
JokeRe: Can you top that? Pin
musefan16-Feb-11 5:29
musefan16-Feb-11 5:29 
GeneralRe: Can you top that? Pin
fat_boy17-Feb-11 5:40
fat_boy17-Feb-11 5:40 
GeneralRe: Can you top that? Pin
peterchen17-Feb-11 6:33
peterchen17-Feb-11 6:33 
GeneralRe: Can you top that? Pin
CDP180218-Feb-11 0:29
CDP180218-Feb-11 0:29 
GeneralWonderful naming Pin
Vladimir Svyatski14-Feb-11 9:46
professionalVladimir Svyatski14-Feb-11 9:46 

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.