Click here to Skip to main content
15,888,527 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: Old time horror Pin
tom144317-Sep-10 4:35
tom144317-Sep-10 4:35 
GeneralRe: Old time horror Pin
JFDR_0217-Sep-10 5:54
JFDR_0217-Sep-10 5:54 
JokeRe: Old time horror Pin
Stefan_Lang17-Sep-10 3:58
Stefan_Lang17-Sep-10 3:58 
GeneralRe: Old time horror Pin
BrainiacV17-Sep-10 8:15
BrainiacV17-Sep-10 8:15 
GeneralRe: Old time horror Pin
BillW3322-Sep-10 1:26
professionalBillW3322-Sep-10 1:26 
GeneralRe: Old time horror Pin
BrainiacV22-Sep-10 5:00
BrainiacV22-Sep-10 5:00 
GeneralRe: Old time horror Pin
BillW3323-Sep-10 17:08
professionalBillW3323-Sep-10 17:08 
GeneralRedundant Coding: The new paradigm! Pin
Delphi4ever9-Sep-10 4:40
Delphi4ever9-Sep-10 4:40 
Today my esteemed coworker invented a brand new programming paradigm: Redundant Coding (tm).

This buggy old legacy code we are working with has a least three almost identical and insanely complicated instances of a special form of coordinate transformation. We want to simplify, but which one to keep?

My coworker suggested that we compare the results of the three code blocks too see which one, if any, would give diviant results. This immideately lead to the idea of letting the three instances "vote" on the right result. And BAM the Redundant Coding programming paradigm was born.

Just as a jumbo jet has three of everything just in case, our code has three almost identical code blocks, just in case one of them is buggy! If one code block produces deviant results, the other two will take over!

I am, of course, kidding. We will clean this mess up eventually.
GeneralRe: Redundant Coding: The new paradigm! Pin
Richard Jones9-Sep-10 4:44
Richard Jones9-Sep-10 4:44 
GeneralRe: Redundant Coding: The new paradigm! Pin
josda10009-Sep-10 7:07
josda10009-Sep-10 7:07 
GeneralRe: Redundant Coding: The new paradigm! Pin
Richard Jones9-Sep-10 7:12
Richard Jones9-Sep-10 7:12 
GeneralRe: Redundant Coding: The new paradigm! Pin
josda10009-Sep-10 7:25
josda10009-Sep-10 7:25 
GeneralRe: Redundant Coding: The new paradigm! Pin
Nagy Vilmos9-Sep-10 13:12
professionalNagy Vilmos9-Sep-10 13:12 
GeneralRe: Redundant Coding: The new paradigm! Pin
Richard A. Dalton9-Sep-10 5:26
Richard A. Dalton9-Sep-10 5:26 
GeneralRe: Redundant Coding: The new paradigm! Pin
Ray Cassick9-Sep-10 9:12
Ray Cassick9-Sep-10 9:12 
GeneralRe: Redundant Coding: The new paradigm! Pin
Nagy Vilmos9-Sep-10 13:15
professionalNagy Vilmos9-Sep-10 13:15 
GeneralRe: Redundant Coding: The new paradigm! Pin
Ray Cassick9-Sep-10 14:54
Ray Cassick9-Sep-10 14:54 
GeneralRe: Redundant Coding: The new paradigm! Pin
Carlos Fonseca15-Sep-10 7:00
Carlos Fonseca15-Sep-10 7:00 
GeneralRe: Redundant Coding: The new paradigm! Pin
Ray Cassick15-Sep-10 10:30
Ray Cassick15-Sep-10 10:30 
GeneralRe: Redundant Coding: The new paradigm! Pin
Rob Grainger10-Sep-10 2:46
Rob Grainger10-Sep-10 2:46 
GeneralRe: Redundant Coding: The new paradigm! Pin
hairy_hats17-Sep-10 2:19
hairy_hats17-Sep-10 2:19 
GeneralRe: Redundant Coding: The new paradigm! Pin
BillW3310-Sep-10 9:40
professionalBillW3310-Sep-10 9:40 
GeneralRe: Redundant Coding: The new paradigm! Pin
AspDotNetDev9-Sep-10 11:37
protectorAspDotNetDev9-Sep-10 11:37 
JokeRe: Redundant Coding: The new paradigm! Pin
Chris Meech10-Sep-10 1:15
Chris Meech10-Sep-10 1:15 
GeneralRe: Redundant Coding vs rewrite vs Joel Pin
pg--az11-Sep-10 22:17
pg--az11-Sep-10 22:17 

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.