Click here to Skip to main content
15,910,277 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: Points, Points Everywhere Pin
Argonia15-Jul-13 20:22
professionalArgonia15-Jul-13 20:22 
GeneralRe: Points, Points Everywhere Pin
vonb15-Jul-13 20:25
vonb15-Jul-13 20:25 
GeneralRe: Points, Points Everywhere Pin
Rob Grainger15-Jul-13 23:02
Rob Grainger15-Jul-13 23:02 
GeneralRe: Points, Points Everywhere Pin
johannesnestler17-Jul-13 1:51
johannesnestler17-Jul-13 1:51 
GeneralRe: Points, Points Everywhere Pin
vonb17-Jul-13 2:40
vonb17-Jul-13 2:40 
GeneralRe: Points, Points Everywhere Pin
MarkRHolbrook6-Sep-13 3:47
MarkRHolbrook6-Sep-13 3:47 
GeneralEpic Pin
Lutosław10-Jul-13 23:10
Lutosław10-Jul-13 23:10 
GeneralRe: Epic Pin
Mohammed Hameed11-Jul-13 0:24
professionalMohammed Hameed11-Jul-13 0:24 
GeneralRe: Epic Pin
vonb11-Jul-13 1:22
vonb11-Jul-13 1:22 
GeneralRe: Epic Pin
Richard Deeming11-Jul-13 2:14
mveRichard Deeming11-Jul-13 2:14 
GeneralRe: Epic Pin
vonb11-Jul-13 2:28
vonb11-Jul-13 2:28 
GeneralRe: Epic Pin
Ingo11-Jul-13 6:22
Ingo11-Jul-13 6:22 
GeneralExpletive Deleted Pin
Rob Grainger9-Jul-13 4:21
Rob Grainger9-Jul-13 4:21 
GeneralRe: Expletive Deleted Pin
vonb9-Jul-13 4:34
vonb9-Jul-13 4:34 
GeneralRe: Expletive Deleted Pin
Rob Grainger9-Jul-13 4:47
Rob Grainger9-Jul-13 4:47 
GeneralRe: Expletive Deleted Pin
PIEBALDconsult9-Jul-13 5:06
mvePIEBALDconsult9-Jul-13 5:06 
GeneralRe: Expletive Deleted Pin
Le Poete11-Jul-13 1:35
Le Poete11-Jul-13 1:35 
GeneralRe: Expletive Deleted Pin
MSBassSinger11-Jul-13 4:46
professionalMSBassSinger11-Jul-13 4:46 
GeneralRe: Expletive Deleted Pin
AspDotNetDev11-Jul-13 5:41
protectorAspDotNetDev11-Jul-13 5:41 
GeneralRe: Expletive Deleted Pin
MSBassSinger11-Jul-13 6:02
professionalMSBassSinger11-Jul-13 6:02 
GeneralRe: Expletive Deleted Pin
BC_programming12-Jul-13 1:25
BC_programming12-Jul-13 1:25 
GeneralRe: Expletive Deleted Pin
MSBassSinger12-Jul-13 3:26
professionalMSBassSinger12-Jul-13 3:26 
I agree with you for the most part. I always got tired of programming snobs who derided VB6 without really knowing what it was or how it worked. VB6 was safely usable for much more than it was given credit for.

When .NET first went into beta, I started working with it, and have been a .NET fan ever since. I like it much more than Java for rapid application development and for performance, and more than VB6 for sheer programming flexibility.

What you are describing with binary compatibility is that the VB6 compiler creates interface index numbers, using the most recent interface as the default interface. If you look at the type library definition for a VB6 DLL or OCX, you can see this, or you can look at the entries in the registry.

VB6 was not full of problems, but compared to .NET, it was lacking. VB6's biggest drawback is that it was designed for two very different audiences - the non-programmer who needed a good prototyping language with good performance, and the programmer. Unfortunately, too many lazy programmers wrote bad code, did not learn VB6 thoroughly, and blamed VB6, not themselves (not meaning you, of course).

I still have to maintain old legacy VB6 code, but I have not chosen to write new code in VB6 in a very long time.
GeneralRe: Expletive Deleted Pin
BC_programming12-Jul-13 6:28
BC_programming12-Jul-13 6:28 
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 

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.