Click here to Skip to main content
15,887,322 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: Where is the exit? Pin
phil.o7-Sep-10 0:20
professionalphil.o7-Sep-10 0:20 
GeneralRe: Where is the exit? PinPopular
PIEBALDconsult6-Sep-10 5:23
mvePIEBALDconsult6-Sep-10 5:23 
GeneralRe: Where is the exit? Pin
OriginalGriff6-Sep-10 8:14
mveOriginalGriff6-Sep-10 8:14 
AnswerRe: Where is the exit? Pin
Luc Pattyn6-Sep-10 8:25
sitebuilderLuc Pattyn6-Sep-10 8:25 
GeneralRe: Where is the exit? Pin
OriginalGriff6-Sep-10 8:35
mveOriginalGriff6-Sep-10 8:35 
GeneralRe: Where is the exit? Pin
RugbyLeague7-Sep-10 3:57
RugbyLeague7-Sep-10 3:57 
JokeRe: Where is the exit? Pin
AspDotNetDev7-Sep-10 12:42
protectorAspDotNetDev7-Sep-10 12:42 
General65K Lines of Code Pin
ch3ckmat32-Sep-10 1:33
ch3ckmat32-Sep-10 1:33 
I remember in around 1993 I was on an assembly language final project when I wrote around 65 thousand lines of code to replicate a text editor of Norton Commander. I successfully copied 98% of the functionality and 100% of the look and feel that NC Editor offered... and yes I got full marks on my project Poke tongue | ;-P

The coding horror part: I didn't know the "jump far" instruction Hmmm | :| yes! imaging that! and I had to jump through a chain of labels to go far in my code! It was only when my brilliant professor[^] told me in the final presentation and viva, that I could have used the "jump far" instruction to tidy up the code.

I had backup of the code on a 3.5" floppy which i don't know where i lost in time, but i still have a print out of the code in the Project Report file.

Good ol' days! Big Grin | :-D

Sohail Iqbal
GeneralRe: 65K Lines of Code PinPopular
AspDotNetDev2-Sep-10 5:09
protectorAspDotNetDev2-Sep-10 5:09 
GeneralRe: 65K Lines of Code Pin
ch3ckmat32-Sep-10 5:10
ch3ckmat32-Sep-10 5:10 
GeneralRe: 65K Lines of Code Pin
ChandanPatra2-Sep-10 18:26
ChandanPatra2-Sep-10 18:26 
GeneralRe: 65K Lines of Code Pin
ch3ckmat34-Sep-10 7:34
ch3ckmat34-Sep-10 7:34 
GeneralRe: 65K Lines of Code Pin
ChandanPatra5-Sep-10 19:14
ChandanPatra5-Sep-10 19:14 
GeneralRe: 65K Lines of Code Pin
ch3ckmat314-Sep-10 23:16
ch3ckmat314-Sep-10 23:16 
GeneralRe: 65K Lines of Code Pin
ChandanPatra15-Sep-10 19:24
ChandanPatra15-Sep-10 19:24 
GeneralRe: 65K Lines of Code Pin
ch3ckmat315-Sep-10 21:22
ch3ckmat315-Sep-10 21:22 
GeneralRe: 65K Lines of Code Pin
supercat93-Sep-10 7:21
supercat93-Sep-10 7:21 
GeneralRe: 65K Lines of Code Pin
ch3ckmat34-Sep-10 7:40
ch3ckmat34-Sep-10 7:40 
GeneralGreat C# generics naming [modified] Pin
makumazan841-Sep-10 22:05
makumazan841-Sep-10 22:05 
GeneralRe: Great C# generics naming Pin
AspDotNetDev2-Sep-10 6:29
protectorAspDotNetDev2-Sep-10 6:29 
GeneralRe: Great C# generics naming Pin
makumazan843-Sep-10 1:15
makumazan843-Sep-10 1:15 
GeneralRe: Great C# generics naming Pin
Kunal Chowdhury «IN»6-Sep-10 18:51
professionalKunal Chowdhury «IN»6-Sep-10 18:51 
GeneralRe: Great C# generics naming Pin
BillW337-Sep-10 5:04
professionalBillW337-Sep-10 5:04 
GeneralRe: Great C# generics naming Pin
makumazan847-Sep-10 5:46
makumazan847-Sep-10 5:46 
GeneralRe: Great C# generics naming Pin
BillW338-Sep-10 6:30
professionalBillW338-Sep-10 6:30 

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.