Click here to Skip to main content
15,302,859 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: FML, Edition 6580 Pin
Jeroen De Dauw8-Jun-10 19:49
MemberJeroen De Dauw8-Jun-10 19:49 
Generaluseless... Pin
Noman Aftab6-Jun-10 21:53
MemberNoman Aftab6-Jun-10 21:53 
GeneralRe: useless... Pin
Jeroen De Dauw6-Jun-10 22:55
MemberJeroen De Dauw6-Jun-10 22:55 
GeneralRe: useless... Pin
J4amieC6-Jun-10 23:44
MemberJ4amieC6-Jun-10 23:44 
GeneralRe: useless... Pin
supercat97-Jun-10 6:08
Membersupercat97-Jun-10 6:08 
GeneralRe: useless... Pin
J4amieC7-Jun-10 6:31
MemberJ4amieC7-Jun-10 6:31 
GeneralRe: useless... Pin
supercat97-Jun-10 8:52
Membersupercat97-Jun-10 8:52 
GeneralRe: useless... Pin
PIEBALDconsult8-Jun-10 3:21
professionalPIEBALDconsult8-Jun-10 3:21 
Now that reminds me of a time I had to maintain a (batch) program that accessed RDB. It had the equivalent of ToChar(ToChar(somestring)) all throughout the SQL code. The guy who had been maintaining it said it was that way when got it and that he was told it had to be that way.

I called BS, removed the extraneous ToChar, and proved that it was unnecessary. I made some other changes and added some functionality and the resulting program ran in a quarter of the time.
GeneralRe: useless... Pin
Hired Mind13-Jul-10 10:23
MemberHired Mind13-Jul-10 10:23 
GeneralWhen you got your numbers, who needs other types Pin
Yusuf3-Jun-10 8:12
MemberYusuf3-Jun-10 8:12 
GeneralRe: When you got your numbers, who needs other types Pin
Dan Mos3-Jun-10 9:15
MemberDan Mos3-Jun-10 9:15 
GeneralRe: When you got your numbers, who needs other types Pin
Ian Shlasko3-Jun-10 9:17
MemberIan Shlasko3-Jun-10 9:17 
GeneralRe: When you got your numbers, who needs other types Pin
Yusuf3-Jun-10 9:50
MemberYusuf3-Jun-10 9:50 
GeneralRe: When you got your numbers, who needs other types Pin
Andrew Rissing3-Jun-10 9:36
MemberAndrew Rissing3-Jun-10 9:36 
GeneralRe: When you got your numbers, who needs other types Pin
DaveyM694-Jun-10 10:43
professionalDaveyM694-Jun-10 10:43 
GeneralRe: When you got your numbers, who needs other types Pin
Thomas Krojer3-Jun-10 21:56
MemberThomas Krojer3-Jun-10 21:56 
GeneralRe: When you got your numbers, who needs other types Pin
_Erik_3-Jun-10 23:56
Member_Erik_3-Jun-10 23:56 
GeneralRe: When you got your numbers, who needs other types Pin
Jeremy Hutchinson4-Jun-10 9:12
professionalJeremy Hutchinson4-Jun-10 9:12 
GeneralRe: When you got your numbers, who needs other types Pin
Yusuf4-Jun-10 10:45
MemberYusuf4-Jun-10 10:45 
GeneralSize Matters Take Two Pin
Paul Hooper27-May-10 3:19
MemberPaul Hooper27-May-10 3:19 
GeneralRe: Size Matters Take Two Pin
ricmil4227-May-10 5:24
Memberricmil4227-May-10 5:24 
GeneralRe: Size Matters Take Two Pin
CDP180228-May-10 2:43
MemberCDP180228-May-10 2:43 
GeneralRe: Size Matters Take Two Pin
Nagy Vilmos4-Jun-10 10:20
professionalNagy Vilmos4-Jun-10 10:20 
GeneralRe: Size Matters Take Two Pin
Luc Pattyn4-Jun-10 11:40
sitebuilderLuc Pattyn4-Jun-10 11:40 
GeneralRe: Size Matters Take Two Pin
Hired Mind13-Jul-10 10:31
MemberHired Mind13-Jul-10 10:31 

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.