Click here to Skip to main content
15,887,214 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
Simone Serponi17-Sep-10 6:08
Simone Serponi17-Sep-10 6:08 
GeneralRe: Old time horror Pin
CDP180219-Sep-10 3:58
CDP180219-Sep-10 3:58 
GeneralRe: Old time horror Pin
tom144317-Sep-10 1:47
tom144317-Sep-10 1:47 
GeneralRe: Old time horror Pin
CDP180217-Sep-10 2:47
CDP180217-Sep-10 2:47 
GeneralRe: Old time horror Pin
Stefan_Lang17-Sep-10 3:50
Stefan_Lang17-Sep-10 3:50 
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 
I fondly remember a time at university when I coded some neural network stuff together with two friends. We frequently came up with all kind of silly variable names taken from Asterix comics, out of the midst of some of the more witty parts of our conversations, and the like.

On one occasion we were looking at a boolean variable that we realized we forgot to initialize, causing an error. We discussed whether we should initialize it to true or false, so I sat down and wrote:

bool isgood = true || false;

Big Grin | :-D
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 
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 

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.