Click here to Skip to main content
13,554,805 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
dusty_dex12-Mar-13 18:36
memberdusty_dex12-Mar-13 18:36 
GeneralRe: Tired and Sick of Programming? Pin
Grasshopper.iics12-Mar-13 18:58
groupGrasshopper.iics12-Mar-13 18:58 
GeneralRe: Tired and Sick of Programming? Pin
Pranit Kothari12-Mar-13 20:09
memberPranit Kothari12-Mar-13 20:09 
GeneralRe: Tired and Sick of Programming? Pin
Rhys Gravell12-Mar-13 22:41
memberRhys Gravell12-Mar-13 22:41 
GeneralRe: Tired and Sick of Programming? Pin
diegosendra12-Mar-13 16:31
memberdiegosendra12-Mar-13 16:31 
GeneralRe: Tired and Sick of Programming? Pin
_Damian S_12-Mar-13 19:12
member_Damian S_12-Mar-13 19:12 
GeneralRe: Tired and Sick of Programming? Pin
Jarek Kruza10-Apr-13 0:49
memberJarek Kruza10-Apr-13 0:49 
GeneralData Types And Convenience Methods are Overrated Pin
AspDotNetDev6-Mar-13 14:01
protectorAspDotNetDev6-Mar-13 14:01 
cmd.Parameters.Add("@SomeID", SqlDbType.Int)
cmd.Parameters("@SomeID").Value = Session("SomeID").ToString()


It appears this developer didn't have a strong conception of data types, knowledge of AddWithValue, or knowledge that the "@" is optional when specifying parameters. D'Oh! | :doh:

GeneralRe: Data Types And Convenience Methods are Overrated Pin
PIEBALDconsult6-Mar-13 16:29
memberPIEBALDconsult6-Mar-13 16:29 
GeneralRe: Data Types And Convenience Methods are Overrated Pin
OriginalGriff6-Mar-13 22:58
mvpOriginalGriff6-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
mark merrens7-Mar-13 6:13
membermark merrens7-Mar-13 6:13 
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 
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 

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 |
Web01-2016 | 2.8.180515.1 | Last Updated 24 May 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid