Click here to Skip to main content
15,908,013 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: top this Pin
Michael Eber10-Aug-10 9:09
Michael Eber10-Aug-10 9:09 
JokeRe: top this Pin
Yusuf4-Aug-10 13:31
Yusuf4-Aug-10 13:31 
GeneralRe: top this Pin
CDP18024-Aug-10 21:20
CDP18024-Aug-10 21:20 
GeneralRe: top this Pin
mr_lasseter8-Aug-10 3:55
mr_lasseter8-Aug-10 3:55 
GeneralRe: top this Pin
CDP18028-Aug-10 20:56
CDP18028-Aug-10 20:56 
GeneralRe: top this Pin
Richard A. Dalton12-Aug-10 0:26
Richard A. Dalton12-Aug-10 0:26 
GeneralRe: top this Pin
CDP180212-Aug-10 0:35
CDP180212-Aug-10 0:35 
GeneralRe: top this Pin
Richard A. Dalton12-Aug-10 1:03
Richard A. Dalton12-Aug-10 1:03 
To be fair to the project managers etc, the software development "profession" hasn't exactly covered itself in glory.

It's undetstandable why they assume that software is always going to be buggy and therefore quick fixes should be prioritised over this nebulous notion of "good code".

Be honest, if you picked a company at random and looked at their source code for internal apps, would you "expect" to find good code or bad?

The overwhelming majority of code in the world is bad bad bad.

As a profession we're still living in caves and drawing crude pictures of animals.

There are signs that things are improving. The Ugg family in Cave 7 are playing with Test Driven Development. The Oggs in Cave 8 have this thing called Refactoring. The Flintstones over in Bedrock have been using something called Design Patterns.

We're on a slow upward climb towards being a real profession but we won't get there doign the things we've done in the past.

It should take as long to become a software developer as it does to become a doctor, and we should probably be choosing specialties in much the same way. Sadly you can become a "programmer" with less training than a Burger Flipper.

-Richard
GeneralRe: top this Pin
CDP180212-Aug-10 1:36
CDP180212-Aug-10 1:36 
GeneralRe: top this Pin
Richard A. Dalton12-Aug-10 5:16
Richard A. Dalton12-Aug-10 5:16 
GeneralRe: top this Pin
Yusuf4-Aug-10 13:32
Yusuf4-Aug-10 13:32 
GeneralRe: top this Pin
bleedingfingers4-Aug-10 21:41
bleedingfingers4-Aug-10 21:41 
GeneralRe: top this Pin
devvvy5-Aug-10 15:57
devvvy5-Aug-10 15:57 
GeneralRe: top this Pin
sameerazazi877-Aug-10 1:21
sameerazazi877-Aug-10 1:21 
GeneralRe: top this Pin
Bigdeak12-Aug-10 21:40
Bigdeak12-Aug-10 21:40 
GeneralHow to read a file completely? PinPopular
Bernhard Hiller29-Jul-10 2:22
Bernhard Hiller29-Jul-10 2:22 
GeneralRe: How to read a file completely? Pin
Single Step Debugger29-Jul-10 3:35
Single Step Debugger29-Jul-10 3:35 
GeneralRe: How to read a file completely? Pin
Phil Martin29-Jul-10 13:15
professionalPhil Martin29-Jul-10 13:15 
GeneralRe: How to read a file completely? Pin
David Skelly29-Jul-10 22:34
David Skelly29-Jul-10 22:34 
GeneralRe: How to read a file completely? Pin
Luc Pattyn30-Jul-10 0:02
sitebuilderLuc Pattyn30-Jul-10 0:02 
GeneralRe: How to read a file completely? Pin
David Skelly30-Jul-10 2:29
David Skelly30-Jul-10 2:29 
GeneralRe: How to read a file completely? Pin
Luc Pattyn30-Jul-10 2:53
sitebuilderLuc Pattyn30-Jul-10 2:53 
GeneralRe: How to read a file completely? Pin
David Skelly30-Jul-10 4:18
David Skelly30-Jul-10 4:18 
GeneralRe: How to read a file completely? Pin
PIEBALDconsult30-Jul-10 6:21
mvePIEBALDconsult30-Jul-10 6:21 
GeneralRe: How to read a file completely? Pin
Luc Pattyn30-Jul-10 6:26
sitebuilderLuc Pattyn30-Jul-10 6: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.