Click here to Skip to main content
15,890,282 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: Bool expression?? Pin
PIEBALDconsult2-Apr-08 8:00
mvePIEBALDconsult2-Apr-08 8:00 
GeneralChildhood coding PinPopular
Daniel 'Tak' M.6-Feb-08 16:20
Daniel 'Tak' M.6-Feb-08 16:20 
GeneralRe: Childhood coding Pin
Pete O'Hanlon6-Feb-08 21:54
mvePete O'Hanlon6-Feb-08 21:54 
GeneralRe: Childhood coding Pin
NormDroid7-Feb-08 0:18
professionalNormDroid7-Feb-08 0:18 
GeneralRe: Childhood coding Pin
Dan Neely7-Feb-08 2:16
Dan Neely7-Feb-08 2:16 
GeneralRe: Childhood coding Pin
ClementsDan7-Feb-08 5:21
ClementsDan7-Feb-08 5:21 
GeneralRe: Childhood coding Pin
Daniel 'Tak' M.7-Feb-08 7:38
Daniel 'Tak' M.7-Feb-08 7:38 
GeneralRe: Childhood coding Pin
PIEBALDconsult7-Feb-08 7:46
mvePIEBALDconsult7-Feb-08 7:46 
ClementsDan wrote:
I hadn't learned about arrays yet


I on the other hand...

In my first programming course (using BASIC-Plus on a PDP-11) one of the assignments was to do something (I forget what) with a bunch of numbers and it was expected that we would use a bunch of individual variables. But I said to myself, "there's gotta be a better way", and proceeded to read the next chapter of the book, which covered "subscripted variables" (arrays). So I wrote my program using them and turned it in. The teacher replied, "that's next week's assignment!" Laugh | :laugh:
GeneralRe: Childhood coding Pin
MidwestLimey7-Feb-08 12:05
professionalMidwestLimey7-Feb-08 12:05 
GeneralRe: Childhood coding Pin
Daniel 'Tak' M.7-Feb-08 12:15
Daniel 'Tak' M.7-Feb-08 12:15 
JokeRe: Childhood coding Pin
Xiangyang Liu 刘向阳9-Feb-08 14:53
Xiangyang Liu 刘向阳9-Feb-08 14:53 
GeneralA "New" Way to practice TDD Pin
Philip Laureano6-Feb-08 13:39
Philip Laureano6-Feb-08 13:39 
GeneralRe: A "New" Way to practice TDD Pin
Shog96-Feb-08 17:21
sitebuilderShog96-Feb-08 17:21 
GeneralRe: A "New" Way to practice TDD Pin
Ray Cassick7-Feb-08 11:13
Ray Cassick7-Feb-08 11:13 
GeneralPremature Disposal Pin
Rob Grainger6-Feb-08 5:30
Rob Grainger6-Feb-08 5:30 
GeneralThe real WTF is... Pin
DavidNohejl6-Feb-08 5:43
DavidNohejl6-Feb-08 5:43 
GeneralRe: Premature Disposal - The Sequel Pin
Rob Grainger6-Feb-08 5:56
Rob Grainger6-Feb-08 5:56 
GeneralRe: Premature Disposal - The Sequel Pin
PIEBALDconsult6-Feb-08 7:22
mvePIEBALDconsult6-Feb-08 7:22 
GeneralRe: Premature Disposal - The Sequel Pin
TheGreatAndPowerfulOz8-Feb-08 7:29
TheGreatAndPowerfulOz8-Feb-08 7:29 
GeneralRe: Premature Disposal Pin
Brady Kelly6-Feb-08 7:48
Brady Kelly6-Feb-08 7:48 
GeneralRe: Premature Disposal Pin
Thomas R. Wolfe7-Feb-08 0:34
Thomas R. Wolfe7-Feb-08 0:34 
GeneralRe: Premature Disposal Pin
Nemanja Trifunovic7-Feb-08 5:53
Nemanja Trifunovic7-Feb-08 5:53 
GeneralRe: Premature Disposal Pin
TheGreatAndPowerfulOz8-Feb-08 7:26
TheGreatAndPowerfulOz8-Feb-08 7:26 
GeneralRewriting CString Pin
Member 45277484-Feb-08 2:58
Member 45277484-Feb-08 2:58 
GeneralUNUSED functions Pin
Delphi4ever1-Feb-08 2:50
Delphi4ever1-Feb-08 2:50 

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.