Click here to Skip to main content
15,890,506 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: Enabling backwards compatibility Pin
jsc4230-Jan-12 3:43
professionaljsc4230-Jan-12 3:43 
GeneralRe: Enabling backwards compatibility Pin
Chanoch Wiggers30-Jan-12 4:06
Chanoch Wiggers30-Jan-12 4:06 
GeneralRe: Enabling backwards compatibility Pin
Firo Atrum Ventus30-Jan-12 11:15
Firo Atrum Ventus30-Jan-12 11:15 
GeneralRe: Enabling backwards compatibility Pin
PIEBALDconsult31-Jan-12 2:24
mvePIEBALDconsult31-Jan-12 2:24 
GeneralRe: Enabling backwards compatibility Pin
User 48220331-Feb-12 0:27
User 48220331-Feb-12 0:27 
GeneralRe: Enabling backwards compatibility Pin
Gary Huck1-Feb-12 7:56
Gary Huck1-Feb-12 7:56 
GeneralRe: Enabling backwards compatibility Pin
User 48220331-Feb-12 8:10
User 48220331-Feb-12 8:10 
GeneralRe: Enabling backwards compatibility Pin
Stefan_Lang1-Feb-12 1:42
Stefan_Lang1-Feb-12 1:42 
You're lucky. You can at least differentiate between array type arguments and others. And you do have argument names that hint at their intended use.

I've encountered that philosophy in the early 90s, when trying to learn OLE2: in my search for documentation of the automation API provided by Excel, I've found that all functions exlusively used arguments of the type Variant. WTF | :WTF:

I would really have liked to know whether they are supposed to be integer values, short, or maybe even double, or in which order I am supposed to pass the arguments, but the documentation did not even contain argument names to give a hint of which is which, much less an explanation what the arguments are supposed to contain.

According to MicroSoft and even other sources, at that time that documentation was the most elaborate to be had ,,, Dead | X|

Fortunately I eventually found a good book on the topic (not by MS!), or I'd still be busy doing trial and error to find out just how to use that API... Unsure | :~
GeneralRe: Enabling backwards compatibility Pin
Garry Lowther1-Feb-12 1:42
Garry Lowther1-Feb-12 1:42 
GeneralRe: Enabling backwards compatibility Pin
charlieg1-Feb-12 5:52
charlieg1-Feb-12 5:52 
GeneralRe: Enabling backwards compatibility Pin
Jeremy David Thomson1-Feb-12 10:37
Jeremy David Thomson1-Feb-12 10:37 
GeneralStrictly Short Circuit PinPopular
AspDotNetDev26-Jan-12 15:02
protectorAspDotNetDev26-Jan-12 15:02 
GeneralRe: Strictly Short Circuit Pin
ZurdoDev27-Jan-12 5:25
professionalZurdoDev27-Jan-12 5:25 
GeneralRe: Strictly Short Circuit Pin
cpkilekofp27-Jan-12 6:40
cpkilekofp27-Jan-12 6:40 
GeneralRe: Strictly Short Circuit Pin
AspDotNetDev27-Jan-12 7:03
protectorAspDotNetDev27-Jan-12 7:03 
GeneralRe: Strictly Short Circuit Pin
ZurdoDev27-Jan-12 8:15
professionalZurdoDev27-Jan-12 8:15 
GeneralRe: Strictly Short Circuit Pin
AspDotNetDev27-Jan-12 8:33
protectorAspDotNetDev27-Jan-12 8:33 
GeneralRe: Strictly Short Circuit Pin
ZurdoDev27-Jan-12 8:47
professionalZurdoDev27-Jan-12 8:47 
GeneralRe: Strictly Short Circuit Pin
AspDotNetDev27-Jan-12 8:59
protectorAspDotNetDev27-Jan-12 8:59 
GeneralRe: Strictly Short Circuit Pin
ZurdoDev27-Jan-12 9:06
professionalZurdoDev27-Jan-12 9:06 
GeneralRe: Strictly Short Circuit Pin
dawmail33330-Jan-12 0:41
dawmail33330-Jan-12 0:41 
GeneralRe: Strictly Short Circuit Pin
AspDotNetDev30-Jan-12 4:37
protectorAspDotNetDev30-Jan-12 4:37 
GeneralRe: Strictly Short Circuit Pin
LetMeFinclOut30-Jan-12 12:36
LetMeFinclOut30-Jan-12 12:36 
GeneralRe: Strictly Short Circuit Pin
cpkilekofp27-Jan-12 9:09
cpkilekofp27-Jan-12 9:09 
GeneralRe: Strictly Short Circuit PinPopular
Jan Steyn29-Jan-12 23:16
Jan Steyn29-Jan-12 23:16 

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.