Click here to Skip to main content
15,921,577 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: C# confessions - Oh man I would be embarassed - if it wasn't so funny. Pin
CDP18029-May-08 0:40
CDP18029-May-08 0:40 
GeneralRe: C# confessions - Oh man I would be embarassed - if it wasn't so funny. Pin
Luca Leonardo Scorcia13-May-08 7:11
professionalLuca Leonardo Scorcia13-May-08 7:11 
GeneralRe: C# confessions - Oh man I would be embarassed - if it wasn't so funny. [modified] Pin
CDP180214-May-08 23:18
CDP180214-May-08 23:18 
JokeRe: C# confessions - Oh man I would be embarassed - if it wasn't so funny. Pin
Oshtri Deka9-May-08 1:56
professionalOshtri Deka9-May-08 1:56 
GeneralRe: C# confessions - Oh man I would be embarassed - if it wasn't so funny. Pin
CDP18029-May-08 3:04
CDP18029-May-08 3:04 
GeneralRe: C# confessions - Oh man I would be embarassed - if it wasn't so funny. Pin
ToreUp13-May-08 7:29
ToreUp13-May-08 7:29 
GeneralRe: C# confessions - Oh man I would be embarassed - if it wasn't so funny. Pin
GuyThiebaut13-May-08 7:44
professionalGuyThiebaut13-May-08 7:44 
GeneralYou're using... ? Pin
Reelix7-May-08 21:47
Reelix7-May-08 21:47 
Im assisting a friend, and I request to see the C# code he is working on, so that I may understand it more clearly.

He uploads, I download.

Visual Studio causes issues, and refuses to open the Project, so I look at the Files.

I see only 2 .cs file's - Program.cs and AssemlyInfo.cs

This NORMALLY means that either they're coding .NET 1.1 (Form1.cs came out in 2.0), or a Command Line App. I'm assuming it's .NET 1.1, as it's a Windows App.

I look at the code (Terrible Form Generation, mixed with manually coded Events.. Yep... Looks like .NET 1.1)

After trying to convert to .NET 2.0, I decide to ask...

"What .NET are you using... ?" in the hope to move him onto .NET 2.0, and hopefully make life easier for him...

To my complete and utter surprise, he replies ".NET 2.0"

I go back to the Folder to re-check the files, and to the recently downloaded archive - Nope - I have everything he uploaded...

Then comes the next question...

"Which Compiler are you using... ?"

He replies...

"SharpDevelop"

I cry.... Cry | :((

I ask why he doesn't use Visual Studio Express

He responds that he doesn't have enough free space...

I cry again.... Cry | :((

Moral of the Story:

Sometimes Microsoft DOES Release Useful Products... For the love of god... Please use them Cry | :(( Cry | :(( Cry | :((

-= Reelix =-

GeneralRe: You're using... ? Pin
CDP18027-May-08 22:17
CDP18027-May-08 22:17 
GeneralRe: You're using... ? Pin
Reelix7-May-08 22:20
Reelix7-May-08 22:20 
GeneralRe: You're using... ? Pin
CDP18027-May-08 22:29
CDP18027-May-08 22:29 
GeneralRe: You're using... ? Pin
Dan Neely8-May-08 2:26
Dan Neely8-May-08 2:26 
GeneralRe: You're using... ? Pin
PIEBALDconsult8-May-08 13:47
mvePIEBALDconsult8-May-08 13:47 
GeneralRe: You're using... ? Pin
Zoltan Balazs8-May-08 23:59
Zoltan Balazs8-May-08 23:59 
GeneralRe: You're using... ? Pin
CDP18029-May-08 3:14
CDP18029-May-08 3:14 
GeneralRe: You're using... ? Pin
PIEBALDconsult9-May-08 7:06
mvePIEBALDconsult9-May-08 7:06 
GeneralRe: You're using... ? Pin
Anthony Mushrow10-May-08 4:17
professionalAnthony Mushrow10-May-08 4:17 
GeneralRe: You're using... ? Pin
Daniel Grunwald15-May-08 2:40
Daniel Grunwald15-May-08 2:40 
GeneralRe: You're using... ? Pin
Vasudevan Deepak Kumar16-May-08 4:35
Vasudevan Deepak Kumar16-May-08 4:35 
GeneralRe: You're using... ? Pin
Amol_B2-Jun-08 23:14
professionalAmol_B2-Jun-08 23:14 
GeneralThe Classic [modified] Pin
CDP18025-May-08 2:34
CDP18025-May-08 2:34 
GeneralRe: The Classic Pin
Colin Angus Mackay5-May-08 2:59
Colin Angus Mackay5-May-08 2:59 
GeneralRe: The Classic Pin
CDP18025-May-08 3:25
CDP18025-May-08 3:25 
GeneralRe: The Classic Pin
leppie5-May-08 3:27
leppie5-May-08 3:27 
GeneralRe: The Classic Pin
VentsyV5-May-08 10:34
VentsyV5-May-08 10: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.