Click here to Skip to main content

Hall of Shame

RSS Feed RSS feed

The Hall of Shame forum is a place to post examples of Coding Horrors and Worst Practices.

We all come across code that simply boggles the mind. Lazy kludges, embarrasing mistakes, horrid workarounds and developers just not quite getting it. Post the most amusing and/or painful code snippets you've encountered here. Do not post programming questions in this forum. This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
GeneralRe: Don't they know what an array is? PinmemberShameel0:42 25 Nov '09  
GeneralRe: Don't they know what an array is? Pinmemberdojohansen3:21 25 Nov '09  
JokeRe: Don't they know what an array is? PinmemberPIEBALDconsult17:40 25 Nov '09  
GeneralRe: Don't they know what an array is? Pinmembersupercat911:03 3 Dec '09  
GeneralRe: Don't they know what an array is? Pinmemberdojohansen2:02 4 Dec '09  
GeneralRe: Don't they know what an array is? PinmemberTimothy Byrd13:51 23 Dec '09  
GeneralWhy? Why?!! WHY!!!! PinPopularmemberJRHutch10:19 11 Nov '09  
I've been rewriting a system that was originally written in VBScript. Yes, that's 5000+ lines of VBScript with no white space, and no comments. That alone has had me crying for weeks/months, but this pushed me over the edge:
 
At one point in the application we generate documents, to do so we pass a piece of XML to a third party utility that does a Word Merge (or whatever kids are calling it these days). Rather than pass each piece of data as a separate element they are doing some of the formatting in the VBScript.
 
Instead of passing

John Smith
1/1/1970

 
They are passing:
John Smith {they insert a vbtab} 1/1/1970
 
I can't change the document template, so for now I have to reproduce this horrible code in .Net. I'm going to spend a few hours in the shower tonight crying and trying to scrub off that dirty feeling...
GeneralRe: Why? Why?!! WHY!!!! PinmemberSundance Kid19:49 11 Nov '09  
GeneralRe: Why? Why?!! WHY!!!! PinmemberCorinna John1:38 20 Nov '09  
GeneralRe: Why? Why?!! WHY!!!! PinmemberVickyC#16:21 21 Nov '09  
GeneralRe: Why? Why?!! WHY!!!! PinmemberJRHutch8:27 24 Nov '09  
GeneralRe: Why? Why?!! WHY!!!! PinmemberMycroft Holmes19:32 25 Nov '09  
GeneralThis is a pleasure to read. PinmemberWes Jones6:56 5 Nov '09  
GeneralRe: This is a pleasure to read. PinmemberNagy Vilmos5:09 6 Nov '09  
GeneralRe: This is a pleasure to read. PinmemberDavid Skelly6:00 6 Nov '09  
GeneralRe: This is a pleasure to read. PinmemberWes Jones6:28 6 Nov '09  
GeneralRe: This is a pleasure to read. PinmemberJRHutch10:06 11 Nov '09  
GeneralRe: This is a pleasure to read. PinmemberWes Jones8:45 12 Nov '09  
QuestionRe: This is a pleasure to read. PinmemberJacek Gajek0:14 17 Nov '09  
AnswerRe: This is a pleasure to read. PinmemberWes Jones6:11 23 Nov '09  
GeneralRe: This is a pleasure to read. PinmemberShameel5:54 23 Nov '09  
GeneralRe: This is a pleasure to read. PinmemberWes Jones6:11 23 Nov '09  
GeneralRe: This is a pleasure to read. PinmemberShameel7:36 23 Nov '09  
GeneralSimple yet entertaining PinmemberTechzorcism6:27 5 Nov '09  
GeneralRe: Simple yet entertaining PinmemberTigerTechie6:47 5 Nov '09  

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.5.120210.1 | Last Updated 11 Feb 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid