Click here to Skip to main content
15,886,873 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: If it fails, try again Pin
Sander Rossel5-Jun-17 5:30
professionalSander Rossel5-Jun-17 5:30 
GeneralRe: If it fails, try again Pin
Jim_Snyder5-Jun-17 6:04
professionalJim_Snyder5-Jun-17 6:04 
PraiseRe: If it fails, try again Pin
Jim_Snyder5-Jun-17 6:05
professionalJim_Snyder5-Jun-17 6:05 
GeneralRe: If it fails, try again Pin
kalberts5-Jun-17 22:06
kalberts5-Jun-17 22:06 
GeneralRe: If it fails, try again Pin
Sander Rossel6-Jun-17 5:58
professionalSander Rossel6-Jun-17 5:58 
GeneralRe: If it fails, try again Pin
Nelek6-Jun-17 6:53
protectorNelek6-Jun-17 6:53 
GeneralRe: If it fails, try again Pin
Sander Rossel6-Jun-17 11:06
professionalSander Rossel6-Jun-17 11:06 
GeneralRe: If it fails, try again Pin
Nelek6-Jun-17 19:19
protectorNelek6-Jun-17 19:19 
Sander Rossel wrote:
Nothing you can say or do will make me change my mind on comments.
I am not trying to convince you. I am just giving another point of view related to your message.
Sander Rossel wrote:
And I've always been able to follow it
I forgot to say: I have been programming in AWL/LAD for PLCs a quite similar language to assembly. There is a bit more difficult make code "self explanatory" and sometimes the names for the variables are coming from electrical engineer / customer...
Sander Rossel wrote:
t shows that I'm not completely against comments, but use them sparse and wise
That's exactly the point. And I agree with you, obvious comments just make the program unnecessarily longer and uncomfortable to read
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

GeneralRe: If it fails, try again Pin
Sander Rossel6-Jun-17 21:10
professionalSander Rossel6-Jun-17 21:10 
GeneralRe: If it fails, try again Pin
kalberts7-Jun-17 1:34
kalberts7-Jun-17 1:34 
GeneralRe: If it fails, try again Pin
Rob Grainger6-Jul-17 2:12
Rob Grainger6-Jul-17 2:12 
GeneralRe: If it fails, try again PinPopular
kmoorevs5-Jun-17 4:15
kmoorevs5-Jun-17 4:15 
GeneralRe: If it fails, try again PinPopular
Sander Rossel5-Jun-17 5:29
professionalSander Rossel5-Jun-17 5:29 
GeneralRe: If it fails, try again Pin
Daniel Wilianto5-Jun-17 16:04
Daniel Wilianto5-Jun-17 16:04 
GeneralRe: If it fails, try again Pin
Rob Grainger6-Jul-17 2:20
Rob Grainger6-Jul-17 2:20 
GeneralRe: If it fails, try again Pin
DerekT-P6-Jun-17 8:37
professionalDerekT-P6-Jun-17 8:37 
GeneralRe: If it fails, try again Pin
theoldfool5-Jun-17 13:20
professionaltheoldfool5-Jun-17 13:20 
GeneralRe: If it fails, try again Pin
kalberts5-Jun-17 21:51
kalberts5-Jun-17 21:51 
GeneralRe: If it fails, try again Pin
kmoorevs6-Jun-17 4:53
kmoorevs6-Jun-17 4:53 
GeneralRe: If it fails, try again Pin
Rob Grainger6-Jul-17 2:24
Rob Grainger6-Jul-17 2:24 
GeneralRe: If it fails, try again Pin
Richard Deeming6-Jun-17 0:20
mveRichard Deeming6-Jun-17 0:20 
GeneralRe: If it fails, try again Pin
abmv23-Jun-17 9:14
professionalabmv23-Jun-17 9:14 
GeneralPetrovich Pin
Brisingr Aerowing15-May-17 11:54
professionalBrisingr Aerowing15-May-17 11:54 
PraiseRe: Petrovich Pin
Marco Bertschi15-May-17 12:30
protectorMarco Bertschi15-May-17 12:30 
PraiseRe: Petrovich Pin
enhzflep25-May-17 23:23
enhzflep25-May-17 23:23 

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.