Click here to Skip to main content
15,888,733 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: Tired and Sick of Programming? Pin
_Damian S_12-Mar-13 19:12
professional_Damian S_12-Mar-13 19:12 
GeneralRe: Tired and Sick of Programming? Pin
Jarek Kruza10-Apr-13 0:49
Jarek Kruza10-Apr-13 0:49 
GeneralData Types And Convenience Methods are Overrated Pin
AspDotNetDev6-Mar-13 14:01
protectorAspDotNetDev6-Mar-13 14:01 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
PIEBALDconsult6-Mar-13 16:29
mvePIEBALDconsult6-Mar-13 16:29 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
OriginalGriff6-Mar-13 22:58
mveOriginalGriff6-Mar-13 22:58 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
AspDotNetDev7-Mar-13 5:52
protectorAspDotNetDev7-Mar-13 5:52 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
R. Giskard Reventlov7-Mar-13 6:13
R. Giskard Reventlov7-Mar-13 6:13 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
Luca Leonardo Scorcia7-Mar-13 21:23
professionalLuca Leonardo Scorcia7-Mar-13 21:23 
I don't think there's a real way to achieve portability on that, it strongly depends on the connector used. ODBC for example uses a positional syntax for parameters, ignores parameter names and uses the '?' char as a parameter placeholder. MS-Access, same thing. The MySQL provider IIRC can be configured both ways, but by default requires the '@' char (or maybe the reverse, it has been a few years since I last used it).
Luca

The Price of Freedom is Eternal Vigilance. -- Wing Commander IV

En Það Besta Sem Guð Hefur Skapað, Er Nýr Dagur.
(But the best thing God has created, is a New Day.)
-- Sigur Ròs - Viðrar vel til loftárása

GeneralRe: Data Types And Convenience Methods are Overrated Pin
Johnny J.7-Mar-13 4:25
professionalJohnny J.7-Mar-13 4:25 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
obermd8-Mar-13 15:26
obermd8-Mar-13 15:26 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
PIEBALDconsult10-Mar-13 18:04
mvePIEBALDconsult10-Mar-13 18:04 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
R. Giskard Reventlov7-Mar-13 5:01
R. Giskard Reventlov7-Mar-13 5:01 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
AspDotNetDev7-Mar-13 5:23
protectorAspDotNetDev7-Mar-13 5:23 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
R. Giskard Reventlov7-Mar-13 5:32
R. Giskard Reventlov7-Mar-13 5:32 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
AspDotNetDev7-Mar-13 6:00
protectorAspDotNetDev7-Mar-13 6:00 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
R. Giskard Reventlov7-Mar-13 6:11
R. Giskard Reventlov7-Mar-13 6:11 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
JeremyBob7-Mar-13 19:43
JeremyBob7-Mar-13 19:43 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
Luca Leonardo Scorcia7-Mar-13 21:19
professionalLuca Leonardo Scorcia7-Mar-13 21:19 
JokeRe: Data Types And Convenience Methods are Overrated Pin
RafagaX8-Mar-13 5:29
professionalRafagaX8-Mar-13 5:29 
GeneralComments in a foreign language Pin
Andy Bantly5-Mar-13 5:26
Andy Bantly5-Mar-13 5:26 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi6-Mar-13 21:24
protectorMarco Bertschi6-Mar-13 21:24 
GeneralRe: Comments in a foreign language Pin
SoMad7-Mar-13 0:22
professionalSoMad7-Mar-13 0:22 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi7-Mar-13 0:56
protectorMarco Bertschi7-Mar-13 0:56 
GeneralRe: Comments in a foreign language Pin
SoMad7-Mar-13 1:03
professionalSoMad7-Mar-13 1:03 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi7-Mar-13 1:05
protectorMarco Bertschi7-Mar-13 1:05 

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.