Click here to Skip to main content
15,878,748 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.

 
GeneralRLIOTD Pin
Gary Wheeler5-May-21 10:47
Gary Wheeler5-May-21 10:47 
GeneralRe: RLIOTD Pin
Rick York5-May-21 11:34
mveRick York5-May-21 11:34 
GeneralRe: RLIOTD Pin
Gary Wheeler5-May-21 12:32
Gary Wheeler5-May-21 12:32 
PraiseRe: RLIOTD Pin
Slacker0075-May-21 12:25
professionalSlacker0075-May-21 12:25 
GeneralRe: RLIOTD Pin
Gary Wheeler5-May-21 12:32
Gary Wheeler5-May-21 12:32 
JokeRe: RLIOTD Pin
Super Lloyd5-May-21 15:07
Super Lloyd5-May-21 15:07 
GeneralRe: RLIOTD Pin
Gerry Schmitz5-May-21 16:49
mveGerry Schmitz5-May-21 16:49 
GeneralRe: RLIOTD Pin
jsc425-May-21 22:11
professionaljsc425-May-21 22:11 
When I started Uni, we were told we had to have meaningful identifiers. This was back in the punched card days (80 cols per card). So, as a silent protest, I wrote my Assessed Practical Work with every identifier being exactly 80 chars long. This mean that each identifier took a whole punched card and made the program unintelligible as it was impossible to use indentation. (It had one good benefit - I could just duplicate the cards with identifiers and slot them into the source deck as required, so I only had to type them once). I passed the Assessed Practical Work as the program worked and it had meaningful identifiers, but they were not amused.

P.S. Language was Algol60 - one of the few languages that allowed spaces in identifiers - that helped make them meaningful but the code even less straight forward to read.

modified 6-May-21 4:34am.

GeneralRe: RLIOTD Pin
11917640 Member 7-Jun-21 20:15
11917640 Member 7-Jun-21 20:15 
JokeRe: RLIOTD Pin
Bernhard Hiller6-May-21 21:41
Bernhard Hiller6-May-21 21:41 
GeneralRe: RLIOTD Pin
Gary Wheeler7-May-21 2:29
Gary Wheeler7-May-21 2:29 
GeneralRe: RLIOTD Pin
jsc427-May-21 2:49
professionaljsc427-May-21 2:49 
GeneralRe: RLIOTD Pin
Gary Wheeler7-May-21 2:56
Gary Wheeler7-May-21 2:56 
JokeRe: RLIOTD Pin
Greg Utas7-May-21 3:41
professionalGreg Utas7-May-21 3:41 
GeneralRe: RLIOTD Pin
Gary Wheeler7-May-21 3:46
Gary Wheeler7-May-21 3:46 
GeneralRe: RLIOTD Pin
jsc427-May-21 6:01
professionaljsc427-May-21 6:01 
GeneralUhhh... Pin
Brisingr Aerowing20-Apr-21 12:50
professionalBrisingr Aerowing20-Apr-21 12:50 
GeneralRe: Uhhh... Pin
Jon McKee20-Apr-21 13:23
professionalJon McKee20-Apr-21 13:23 
GeneralRe: Uhhh... Pin
MarkTJohnson21-Apr-21 5:00
professionalMarkTJohnson21-Apr-21 5:00 
GeneralRe: Uhhh... Pin
Gary Wheeler5-May-21 10:51
Gary Wheeler5-May-21 10:51 
GeneralRe: Uhhh... Pin
Brisingr Aerowing7-May-21 13:37
professionalBrisingr Aerowing7-May-21 13:37 
GeneralRe: Uhhh... Pin
Gary Wheeler7-May-21 13:47
Gary Wheeler7-May-21 13:47 
GeneralRe: Uhhh... Pin
Greg Utas7-May-21 14:41
professionalGreg Utas7-May-21 14:41 
GeneralRe: Uhhh... Pin
Gary Wheeler7-May-21 15:01
Gary Wheeler7-May-21 15:01 
GeneralThere are times when I really wonder exactly what I was thinking ... Pin
OriginalGriff29-Mar-21 23:26
mveOriginalGriff29-Mar-21 23:26 

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.