Click here to Skip to main content
15,888,802 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: Expletive Deleted Pin
MSBassSinger12-Jul-13 6:58
professionalMSBassSinger12-Jul-13 6:58 
GeneralRe: Expletive Deleted Pin
DeerBear20-Jul-13 7:43
DeerBear20-Jul-13 7:43 
GeneralRe: Expletive Deleted Pin
AspDotNetDev20-Jul-13 8:40
protectorAspDotNetDev20-Jul-13 8:40 
GeneralRe: Expletive Deleted Pin
DeerBear20-Jul-13 10:42
DeerBear20-Jul-13 10:42 
GeneralRe: Expletive Deleted Pin
AspDotNetDev20-Jul-13 16:39
protectorAspDotNetDev20-Jul-13 16:39 
GeneralRe: Expletive Deleted Pin
DeerBear20-Jul-13 22:31
DeerBear20-Jul-13 22:31 
JokeRe: Expletive Deleted Pin
AspDotNetDev21-Jul-13 6:39
protectorAspDotNetDev21-Jul-13 6:39 
GeneralRe: Expletive Deleted Pin
BC_programming12-Jul-13 1:16
BC_programming12-Jul-13 1:16 
I worked in VB6 for years. I was firmly entrenched that I didn't need any other languages, because I could use all the APIs and add functionality if needed.

Using CreateThread() from VB6 was generally a very bad idea. You couldn't access anything from the VB runtime, since that was not re-entrant. The best you could get was an Out-Of-Process component as a "multiple thread" but I'm not sure if we can count that.

Now that I can look back on VB6, I can say that Classes and Object-Oriented support in VB6 was barely workable. When I think back to the things that took the most effort in VB6, I realize that almost all of that effort is either a result of features the language didn't have (such as emulating implementation inheritance by delegating to an aggregate and using implementation inheritance), or working around it's myriad fiobles (have fun implementing IEnumVariant!).

Compared to VB6, C# is (for me) like the difference between having to manually slaughter, gut, and butcher a Animal compared to simply having to cook a steak.
GeneralRe: Expletive Deleted Pin
MSBassSinger12-Jul-13 3:36
professionalMSBassSinger12-Jul-13 3:36 
GeneralRe: Expletive Deleted Pin
Zombie Code Monkey9-Jul-13 4:52
Zombie Code Monkey9-Jul-13 4:52 
GeneralRe: Expletive Deleted Pin
Rob Grainger9-Jul-13 4:59
Rob Grainger9-Jul-13 4:59 
GeneralRe: Expletive Deleted Pin
Zombie Code Monkey9-Jul-13 5:35
Zombie Code Monkey9-Jul-13 5:35 
GeneralRe: Expletive Deleted Pin
AspDotNetDev9-Jul-13 6:05
protectorAspDotNetDev9-Jul-13 6:05 
GeneralRe: Expletive Deleted Pin
PIEBALDconsult9-Jul-13 8:28
mvePIEBALDconsult9-Jul-13 8:28 
GeneralRe: Expletive Deleted Pin
Rob Grainger9-Jul-13 22:45
Rob Grainger9-Jul-13 22:45 
GeneralRe: Expletive Deleted Pin
Shameel10-Jul-13 4:38
professionalShameel10-Jul-13 4:38 
GeneralRe: Expletive Deleted Pin
Rob Grainger10-Jul-13 5:09
Rob Grainger10-Jul-13 5:09 
GeneralRe: Expletive Deleted Pin
AspDotNetDev10-Jul-13 5:15
protectorAspDotNetDev10-Jul-13 5:15 
GeneralRe: Expletive Deleted Pin
Ingo11-Jul-13 6:24
Ingo11-Jul-13 6:24 
GeneralRe: Expletive Deleted Pin
Corporal Agarn10-Jul-13 1:44
professionalCorporal Agarn10-Jul-13 1:44 
GeneralRe: Expletive Deleted Pin
Rob Grainger10-Jul-13 5:14
Rob Grainger10-Jul-13 5:14 
GeneralRe: Expletive Deleted Pin
ExcellentOrg10-Jul-13 20:38
ExcellentOrg10-Jul-13 20:38 
GeneralRe: Expletive Deleted Pin
Lee Chetwynd11-Jul-13 1:28
Lee Chetwynd11-Jul-13 1:28 
GeneralRe: Expletive Deleted Pin
donbsc11-Jul-13 3:41
donbsc11-Jul-13 3:41 
GeneralRe: Expletive Deleted Pin
RafagaX11-Jul-13 4:43
professionalRafagaX11-Jul-13 4:43 

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.