Click here to Skip to main content
15,885,278 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: True that Pin
RobCroll13-Oct-11 16:29
RobCroll13-Oct-11 16:29 
GeneralRe: True that Pin
Firo Atrum Ventus13-Oct-11 16:38
Firo Atrum Ventus13-Oct-11 16:38 
GeneralRe: True that Pin
RobCroll13-Oct-11 17:51
RobCroll13-Oct-11 17:51 
GeneralRe: True that Pin
Firo Atrum Ventus13-Oct-11 19:37
Firo Atrum Ventus13-Oct-11 19:37 
GeneralRe: True that Pin
RobCroll13-Oct-11 21:34
RobCroll13-Oct-11 21:34 
GeneralRe: True that Pin
Firo Atrum Ventus13-Oct-11 21:47
Firo Atrum Ventus13-Oct-11 21:47 
GeneralRe: True that Pin
ii_noname_ii27-Oct-11 2:58
ii_noname_ii27-Oct-11 2:58 
GeneralPhilosophy Major bad Programmer Pin
Frank Towle6-Oct-11 4:01
Frank Towle6-Oct-11 4:01 
I think we all know that writing software is a matter of black and white. There may be many different ways to successfully solve a given problem, but the different methods will produce concrete results - unless you are writing in Prolog, then you may not know the outcome. We also tend to find a method that ‘works for us’ and continue to use that same sequence of code to solve similar problems.

A programmer working with me many years ago either had a short attention span or leaned on his professors’ admonition that everything in the world is gray… He would never reuse a snippet that worked and because we were asked to comment our code (this was back in cryptic Assembler/Fortran land) he would liberally sprinkle ‘THIS MIGHT WORK’ anywhere there was questionable logic.

Lesson: Don’t hire Philosophy Majors for Dev projects!
Gray beard, but no holey tee-shirts, 50+ yrs writing software.

GeneralRe: Philosophy Major bad Programmer Pin
Bert Mitton7-Oct-11 3:13
professionalBert Mitton7-Oct-11 3:13 
GeneralRe: Philosophy Major bad Programmer Pin
Frank Towle8-Oct-11 7:56
Frank Towle8-Oct-11 7:56 
GeneralRe: Philosophy Major bad Programmer Pin
Michael Kingsford Gray10-Oct-11 0:58
Michael Kingsford Gray10-Oct-11 0:58 
GeneralRe: Philosophy Major bad Programmer Pin
cpkilekofp10-Oct-11 9:46
cpkilekofp10-Oct-11 9:46 
GeneralRe: Philosophy Major bad Programmer Pin
Bert Mitton10-Oct-11 5:39
professionalBert Mitton10-Oct-11 5:39 
GeneralRe: Philosophy Major bad Programmer Pin
Alan Balkany10-Oct-11 3:57
Alan Balkany10-Oct-11 3:57 
GeneralRe: Philosophy Major bad Programmer Pin
Frank Towle10-Oct-11 6:12
Frank Towle10-Oct-11 6:12 
GeneralRe: Philosophy Major bad Programmer Pin
Blake Miller19-Oct-11 10:52
Blake Miller19-Oct-11 10:52 
GeneralRe: Philosophy Major bad Programmer Pin
craft_work10-Oct-11 4:07
craft_work10-Oct-11 4:07 
GeneralRe: Philosophy Major bad Programmer Pin
Bert Mitton10-Oct-11 5:47
professionalBert Mitton10-Oct-11 5:47 
GeneralRe: Philosophy Major bad Programmer PinPopular
Jörgen Andersson10-Oct-11 9:19
professionalJörgen Andersson10-Oct-11 9:19 
GeneralRe: Philosophy Major bad Programmer Pin
Bert Mitton10-Oct-11 11:08
professionalBert Mitton10-Oct-11 11:08 
GeneralRe: Philosophy Major bad Programmer Pin
Jörgen Andersson11-Oct-11 7:49
professionalJörgen Andersson11-Oct-11 7:49 
GeneralRe: Philosophy Major bad Programmer Pin
Bert Mitton10-Oct-11 11:13
professionalBert Mitton10-Oct-11 11:13 
GeneralRe: Philosophy Major bad Programmer Pin
Frank Towle10-Oct-11 9:35
Frank Towle10-Oct-11 9:35 
GeneralRe: Philosophy Major bad Programmer Pin
cpkilekofp10-Oct-11 9:49
cpkilekofp10-Oct-11 9:49 
GeneralRe: Philosophy Major bad Programmer Pin
Bert Mitton10-Oct-11 11:12
professionalBert Mitton10-Oct-11 11:12 

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.