Click here to Skip to main content
12,074,308 members (65,619 online)

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: Data Types And Convenience Methods are Overrated Pin
PIEBALDconsult10-Mar-13 19:04
memberPIEBALDconsult10-Mar-13 19:04 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
mark merrens7-Mar-13 6:01
membermark merrens7-Mar-13 6:01 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
AspDotNetDev7-Mar-13 6:23
protectorAspDotNetDev7-Mar-13 6:23 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
mark merrens7-Mar-13 6:32
membermark merrens7-Mar-13 6:32 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
AspDotNetDev7-Mar-13 7:00
protectorAspDotNetDev7-Mar-13 7:00 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
mark merrens7-Mar-13 7:11
membermark merrens7-Mar-13 7:11 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
JeremyBob7-Mar-13 20:43
memberJeremyBob7-Mar-13 20:43 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
Luca Leonardo Scorcia7-Mar-13 22:19
memberLuca Leonardo Scorcia7-Mar-13 22:19 
Well, in the codebase I handle I'm enforcing a standard of explicitly stating the parameter type when using ADO.net. Granted, we're autogenerating the DAL using an internal tool, but it helps in a lot of situations. Example: when using a string field, if you specify the length, ADO.net will truncate the parameter to the expected maximum length. Otherwise it gets passed to the underlying db and the query will error out. For us, the former behaviour is preferred. YMMV Smile | :)
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

JokeRe: Data Types And Convenience Methods are Overrated Pin
RafagaX8-Mar-13 6:29
memberRafagaX8-Mar-13 6:29 
GeneralComments in a foreign language Pin
Andy Bantly5-Mar-13 6:26
memberAndy Bantly5-Mar-13 6:26 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi6-Mar-13 22:24
memberMarco Bertschi6-Mar-13 22:24 
GeneralRe: Comments in a foreign language Pin
SoMad7-Mar-13 1:22
memberSoMad7-Mar-13 1:22 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi7-Mar-13 1:56
memberMarco Bertschi7-Mar-13 1:56 
GeneralRe: Comments in a foreign language Pin
SoMad7-Mar-13 2:03
memberSoMad7-Mar-13 2:03 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi7-Mar-13 2:05
memberMarco Bertschi7-Mar-13 2:05 
GeneralRe: Comments in a foreign language Pin
SoMad7-Mar-13 2:13
memberSoMad7-Mar-13 2:13 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi7-Mar-13 2:23
memberMarco Bertschi7-Mar-13 2:23 
GeneralRe: Comments in a foreign language Pin
SoMad7-Mar-13 2:43
memberSoMad7-Mar-13 2:43 
GeneralRe: Comments in a foreign language PinPopular
szukuro7-Mar-13 3:08
memberszukuro7-Mar-13 3:08 
GeneralRe: Comments in a foreign language Pin
Mike Marynowski8-Mar-13 5:40
memberMike Marynowski8-Mar-13 5:40 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi12-Mar-13 1:32
memberMarco Bertschi12-Mar-13 1:32 
GeneralRe: Comments in a foreign language Pin
Jacek Gajek24-May-13 13:29
memberJacek Gajek24-May-13 13:29 
GeneralEnhancing the bugs PinPopular
Shameel5-Mar-13 4:33
memberShameel5-Mar-13 4:33 
GeneralRe: Enhancing the bugs PinPopular
Dave Kreskowiak5-Mar-13 4:57
mvpDave Kreskowiak5-Mar-13 4:57 
GeneralRe: Enhancing the bugs PinPopular
szukuro5-Mar-13 5:04
memberszukuro5-Mar-13 5:04 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160208.1 | Last Updated 11 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid