Click here to Skip to main content
15,886,049 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: WTF Pin
Weylyn Cadwell17-Aug-15 11:31
Weylyn Cadwell17-Aug-15 11:31 
GeneralRe: WTF Pin
User 1013254618-Sep-15 5:38
User 1013254618-Sep-15 5:38 
GeneralIs this the worst code in the world? Pin
Sean McPoland12-Aug-15 20:12
Sean McPoland12-Aug-15 20:12 
GeneralRe: Is this the worst code in the world? Pin
ravikhoda13-Aug-15 0:07
professionalravikhoda13-Aug-15 0:07 
GeneralRe: Is this the worst code in the world? Pin
Tim Carmichael13-Aug-15 3:24
Tim Carmichael13-Aug-15 3:24 
GeneralRe: Is this the worst code in the world? PinPopular
Power Puff Boy13-Aug-15 3:28
Power Puff Boy13-Aug-15 3:28 
GeneralRe: Is this the worst code in the world? Pin
Mark Whybird13-Aug-15 20:26
Mark Whybird13-Aug-15 20:26 
GeneralRe: Is this the worst code in the world? Pin
Member 1070767713-Aug-15 23:02
Member 1070767713-Aug-15 23:02 
How about an undocumented testing control that was buried in the scheduler of a number of ERP systems. When ERP was a new buzzword introduced to the market, I embedded the control to enable testing and debugging of the software with customer-supplied data. That code and trigger got replicated in later versions of the system as companies purchased copies of the scheduler to speed development of their systems.

When I first started working on ERP scheduling, there were only five systems on the market and I had contracts with three of the companies to tweak my original software. Every so often, I hear reports of some scheduling process going bananas and dumping screeds of garbage to whatever device is used to output from the process.
The difficult may take time, the impossible a little longer.

GeneralRe: Is this the worst code in the world? Pin
Mark Whybird13-Aug-15 20:47
Mark Whybird13-Aug-15 20:47 
GeneralRe: Is this the worst code in the world? Pin
Weston Miller14-Aug-15 3:32
Weston Miller14-Aug-15 3:32 
GeneralRe: Is this the worst code in the world? Pin
Kirk 1038982114-Aug-15 4:01
Kirk 1038982114-Aug-15 4:01 
GeneralRe: Is this the worst code in the world? Pin
Dan Sutton14-Aug-15 7:24
Dan Sutton14-Aug-15 7:24 
GeneralRe: Is this the worst code in the world? Pin
Dan Sutton14-Aug-15 7:29
Dan Sutton14-Aug-15 7:29 
GeneralRe: Is this the worst code in the world? Pin
PIEBALDconsult14-Aug-15 7:34
mvePIEBALDconsult14-Aug-15 7:34 
GeneralRe: Is this the worst code in the world? Pin
BrainiacV14-Aug-15 9:43
BrainiacV14-Aug-15 9:43 
GeneralRe: Is this the worst code in the world? Pin
Manfred Rudolf Bihy14-Aug-15 9:51
professionalManfred Rudolf Bihy14-Aug-15 9:51 
GeneralRe: Is this the worst code in the world? Pin
jibalt14-Aug-15 12:29
jibalt14-Aug-15 12:29 
GeneralRe: Is this the worst code in the world? Pin
Al Chak15-Aug-15 22:16
Al Chak15-Aug-15 22:16 
GeneralRe: Is this the worst code in the world? Pin
Dr Gadgit30-Sep-15 8:24
Dr Gadgit30-Sep-15 8:24 
GeneralRe: Is this the worst code in the world? Pin
BruceN5-Oct-15 9:39
BruceN5-Oct-15 9:39 
GeneralWtf JS? Pin
jan larsen12-Aug-15 1:16
jan larsen12-Aug-15 1:16 
GeneralRe: Wtf JS? Pin
Vark11112-Aug-15 3:32
Vark11112-Aug-15 3:32 
GeneralRe: Wtf JS? Pin
jan larsen12-Aug-15 20:59
jan larsen12-Aug-15 20:59 
GeneralRe: Wtf JS? Pin
jsc4212-Aug-15 3:50
professionaljsc4212-Aug-15 3:50 
GeneralRe: Wtf JS? Pin
jan larsen12-Aug-15 21:10
jan larsen12-Aug-15 21:10 

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.