Click here to Skip to main content
15,175,575 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 11:47
MemberGary Wheeler5-May-21 11:47 
GeneralRe: RLIOTD Pin
Rick York5-May-21 12:34
mveRick York5-May-21 12:34 
GeneralRe: RLIOTD Pin
Gary Wheeler5-May-21 13:32
MemberGary Wheeler5-May-21 13:32 
PraiseRe: RLIOTD Pin
Slacker0075-May-21 13:25
professionalSlacker0075-May-21 13:25 
GeneralRe: RLIOTD Pin
Gary Wheeler5-May-21 13:32
MemberGary Wheeler5-May-21 13:32 
JokeRe: RLIOTD Pin
Super Lloyd5-May-21 16:07
MemberSuper Lloyd5-May-21 16:07 
GeneralRe: RLIOTD Pin
Gerry Schmitz5-May-21 17:49
mveGerry Schmitz5-May-21 17:49 
GeneralRe: RLIOTD Pin
jsc425-May-21 23:11
professionaljsc425-May-21 23: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 21:15
Member11917640 Member 7-Jun-21 21:15 
JokeRe: RLIOTD Pin
Bernhard Hiller6-May-21 22:41
MemberBernhard Hiller6-May-21 22:41 
GeneralRe: RLIOTD Pin
Gary Wheeler7-May-21 3:29
MemberGary Wheeler7-May-21 3:29 
GeneralRe: RLIOTD Pin
jsc427-May-21 3:49
professionaljsc427-May-21 3:49 
GeneralRe: RLIOTD Pin
Gary Wheeler7-May-21 3:56
MemberGary Wheeler7-May-21 3:56 
JokeRe: RLIOTD Pin
Greg Utas7-May-21 4:41
mveGreg Utas7-May-21 4:41 
GeneralRe: RLIOTD Pin
Gary Wheeler7-May-21 4:46
MemberGary Wheeler7-May-21 4:46 
GeneralRe: RLIOTD Pin
jsc427-May-21 7:01
professionaljsc427-May-21 7:01 
GeneralUhhh... Pin
Brisingr Aerowing20-Apr-21 13:50
professionalBrisingr Aerowing20-Apr-21 13:50 
GeneralRe: Uhhh... Pin
Jon McKee20-Apr-21 14:23
professionalJon McKee20-Apr-21 14:23 
GeneralRe: Uhhh... Pin
MarkTJohnson21-Apr-21 6:00
professionalMarkTJohnson21-Apr-21 6:00 
GeneralRe: Uhhh... Pin
Gary Wheeler5-May-21 11:51
MemberGary Wheeler5-May-21 11:51 
GeneralRe: Uhhh... Pin
Brisingr Aerowing7-May-21 14:37
professionalBrisingr Aerowing7-May-21 14:37 
GeneralRe: Uhhh... Pin
Gary Wheeler7-May-21 14:47
MemberGary Wheeler7-May-21 14:47 
GeneralRe: Uhhh... Pin
Greg Utas7-May-21 15:41
mveGreg Utas7-May-21 15:41 
GeneralRe: Uhhh... Pin
Gary Wheeler7-May-21 16:01
MemberGary Wheeler7-May-21 16:01 
GeneralThere are times when I really wonder exactly what I was thinking ... Pin
OriginalGriff30-Mar-21 0:26
mveOriginalGriff30-Mar-21 0: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.