Click here to Skip to main content
15,887,350 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: if if if if if if Pin
Rajesh R Subramanian12-Sep-07 0:13
professionalRajesh R Subramanian12-Sep-07 0:13 
JokeRe: if if if if if if Pin
Pete O'Hanlon11-Sep-07 5:12
mvePete O'Hanlon11-Sep-07 5:12 
GeneralRe: if if if if if if [modified] Pin
Rajesh R Subramanian11-Sep-07 23:37
professionalRajesh R Subramanian11-Sep-07 23:37 
GeneralRe: if if if if if if Pin
mimante11-Sep-07 22:16
mimante11-Sep-07 22:16 
GeneralRe: if if if if if if Pin
Plasmodium5-Oct-07 13:07
Plasmodium5-Oct-07 13:07 
Generalparsing string for int sqlParameter Pin
Seishin#10-Sep-07 4:54
Seishin#10-Sep-07 4:54 
GeneralRe: parsing string for int sqlParameter Pin
PIEBALDconsult10-Sep-07 5:24
mvePIEBALDconsult10-Sep-07 5:24 
GeneralHorror from an article in CP Pin
Ashish Kaila1-Sep-07 8:31
Ashish Kaila1-Sep-07 8:31 
I wont say which article but here is the snippet:

public static ViewInfoCollection FromXmlFile(string filename)
{
ViewInfoCollection @new = new ViewInfoCollection();
@new.ReadFromXml(filename);
return @new;
}

Can anyone spot the horror ? Smile | :)
AnswerRe: Horror from an article in CP Pin
DavidNohejl1-Sep-07 9:31
DavidNohejl1-Sep-07 9:31 
GeneralRe: Horror from an article in CP Pin
PIEBALDconsult1-Sep-07 17:31
mvePIEBALDconsult1-Sep-07 17:31 
GeneralRe: Horror from an article in CP [modified] Pin
PIEBALDconsult1-Sep-07 17:16
mvePIEBALDconsult1-Sep-07 17:16 
GeneralRe: Horror from an article in CP Pin
Vasudevan Deepak Kumar1-Sep-07 22:51
Vasudevan Deepak Kumar1-Sep-07 22:51 
GeneralRe: Horror from an article in CP Pin
Rajesh R Subramanian2-Sep-07 20:39
professionalRajesh R Subramanian2-Sep-07 20:39 
GeneralRe: Horror from an article in CP Pin
Drew_Benton6-Sep-07 23:41
Drew_Benton6-Sep-07 23:41 
GeneralRe: Horror from an article in CP Pin
SimmoTech7-Sep-07 21:12
SimmoTech7-Sep-07 21:12 
GeneralRe: Horror from an article in CP Pin
Mushtaque Nizamani8-Sep-07 20:58
Mushtaque Nizamani8-Sep-07 20:58 
GeneralRe: Horror from an article in CP Pin
Pascal Ganaye3-Sep-07 3:45
Pascal Ganaye3-Sep-07 3:45 
GeneralRe: Horror from an article in CP Pin
OR0N4-Sep-07 0:09
OR0N4-Sep-07 0:09 
GeneralRe: Horror from an article in CP Pin
Mike Dimmick5-Sep-07 10:12
Mike Dimmick5-Sep-07 10:12 
JokeRe: Horror from an article in CP Pin
Pete O'Hanlon6-Sep-07 23:47
mvePete O'Hanlon6-Sep-07 23:47 
GeneralOOP 101 Pin
Leisuresuit Larry31-Aug-07 10:58
Leisuresuit Larry31-Aug-07 10:58 
GeneralRe: OOP 101 Pin
PIEBALDconsult31-Aug-07 14:17
mvePIEBALDconsult31-Aug-07 14:17 
GeneralRe: OOP 101 Pin
Andy Brummer31-Aug-07 20:03
sitebuilderAndy Brummer31-Aug-07 20:03 
GeneralRe: OOP 101 Pin
Nickolay Karnaukhov4-Sep-07 0:21
Nickolay Karnaukhov4-Sep-07 0:21 
GeneralRe: OOP 101 Pin
Le centriste4-Sep-07 3:19
Le centriste4-Sep-07 3:19 

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.