Click here to Skip to main content
11,571,155 members (64,915 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, embarrasing 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
Luca Leonardo Scorcia7-Mar-13 21:23
memberLuca Leonardo Scorcia7-Mar-13 21:23 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
Johnny J.7-Mar-13 4:25
memberJohnny J.7-Mar-13 4:25 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
obermd8-Mar-13 15:26
memberobermd8-Mar-13 15:26 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
PIEBALDconsult10-Mar-13 18:04
memberPIEBALDconsult10-Mar-13 18:04 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
mark merrens7-Mar-13 5:01
membermark merrens7-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
mark merrens7-Mar-13 5:32
membermark merrens7-Mar-13 5:32 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
AspDotNetDev7-Mar-13 6:00
protectorAspDotNetDev7-Mar-13 6:00 
My only point is to make fun of as many things as is possible in that code snippet. However, the only real thing wrong with it is converting an integer to a string and then using that string as the value of a parameter that was just explicitly specified to be an integer.

GeneralRe: Data Types And Convenience Methods are Overrated Pin
mark merrens7-Mar-13 6:11
membermark merrens7-Mar-13 6:11 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
JeremyBob7-Mar-13 19:43
memberJeremyBob7-Mar-13 19:43 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
Luca Leonardo Scorcia7-Mar-13 21:19
memberLuca Leonardo Scorcia7-Mar-13 21:19 
JokeRe: Data Types And Convenience Methods are Overrated Pin
RafagaX8-Mar-13 5:29
memberRafagaX8-Mar-13 5:29 
GeneralComments in a foreign language Pin
Andy Bantly5-Mar-13 5:26
memberAndy Bantly5-Mar-13 5:26 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi6-Mar-13 21:24
memberMarco Bertschi6-Mar-13 21:24 
GeneralRe: Comments in a foreign language Pin
SoMad7-Mar-13 0:22
memberSoMad7-Mar-13 0:22 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi7-Mar-13 0:56
memberMarco Bertschi7-Mar-13 0:56 
GeneralRe: Comments in a foreign language Pin
SoMad7-Mar-13 1:03
memberSoMad7-Mar-13 1:03 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi7-Mar-13 1:05
memberMarco Bertschi7-Mar-13 1:05 
GeneralRe: Comments in a foreign language Pin
SoMad7-Mar-13 1:13
memberSoMad7-Mar-13 1:13 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi7-Mar-13 1:23
memberMarco Bertschi7-Mar-13 1:23 
GeneralRe: Comments in a foreign language Pin
SoMad7-Mar-13 1:43
memberSoMad7-Mar-13 1:43 
GeneralRe: Comments in a foreign language Pin
szukuro7-Mar-13 2:08
memberszukuro7-Mar-13 2:08 
GeneralRe: Comments in a foreign language Pin
Mike Marynowski8-Mar-13 4:40
memberMike Marynowski8-Mar-13 4:40 
GeneralRe: Comments in a foreign language Pin
Marco Bertschi12-Mar-13 0:32
memberMarco Bertschi12-Mar-13 0:32 
GeneralRe: Comments in a foreign language Pin
Jacek Gajek24-May-13 12:29
memberJacek Gajek24-May-13 12:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web04 | 2.8.150624.2 | Last Updated 2 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid