Click here to Skip to main content
15,887,896 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: Performance Genius Pin
fjdiewornncalwe2-Jan-11 4:25
professionalfjdiewornncalwe2-Jan-11 4:25 
GeneralRe: Performance Genius Pin
Steve Caine3-Jan-11 10:35
Steve Caine3-Jan-11 10:35 
GeneralRe: Performance Genius Pin
Sander Rossel27-Dec-10 19:47
professionalSander Rossel27-Dec-10 19:47 
GeneralRe: Performance Genius Pin
Ravi Sant27-Dec-10 22:37
Ravi Sant27-Dec-10 22:37 
GeneralRe: Performance Genius Pin
yxhu5-Jan-11 13:10
yxhu5-Jan-11 13:10 
GeneralRe: Performance Genius Pin
Adrian020-Jan-11 1:48
Adrian020-Jan-11 1:48 
GeneralRe: Performance Genius Pin
yxhu23-Jan-11 11:50
yxhu23-Jan-11 11:50 
GeneralRe: Performance Genius Pin
Adrian023-Jan-11 12:44
Adrian023-Jan-11 12:44 
Good work yxhu. Didn't recognize that.

But if you are that fussy watch your parenthesis
Loop 3, i initialised = 3:
container.Add(data[4]).Items <<< Exception here


Your code wouldn't compile because .Add() is usually of type void. Wink | ;)

greets
Adrian
GeneralRe: Performance Genius Pin
yxhu23-Jan-11 13:14
yxhu23-Jan-11 13:14 
GeneralUseless function Pin
musefan23-Dec-10 3:39
musefan23-Dec-10 3:39 
GeneralRe: Useless function Pin
OriginalGriff23-Dec-10 5:46
mveOriginalGriff23-Dec-10 5:46 
GeneralRe: Useless function Pin
musefan27-Dec-10 6:25
musefan27-Dec-10 6:25 
GeneralRe: Useless function Pin
RobCroll24-Dec-10 4:29
RobCroll24-Dec-10 4:29 
GeneralRe: Useless function Pin
musefan27-Dec-10 6:27
musefan27-Dec-10 6:27 
GeneralRe: Useless function Pin
fjdiewornncalwe27-Dec-10 5:45
professionalfjdiewornncalwe27-Dec-10 5:45 
GeneralRecursive methods. [modified] Pin
Sander Rossel22-Dec-10 9:28
professionalSander Rossel22-Dec-10 9:28 
GeneralRe: Recursive methods. Pin
_Erik_23-Dec-10 3:58
_Erik_23-Dec-10 3:58 
GeneralRe: Recursive methods. Pin
Sander Rossel23-Dec-10 5:15
professionalSander Rossel23-Dec-10 5:15 
GeneralRe: Recursive methods. Pin
RobCroll24-Dec-10 4:46
RobCroll24-Dec-10 4:46 
GeneralRe: Recursive methods. Pin
#realJSOP26-Dec-10 5:04
mve#realJSOP26-Dec-10 5:04 
GeneralWhat a fright!! Pin
_Erik_22-Dec-10 4:55
_Erik_22-Dec-10 4:55 
GeneralRe: What a fright!! PinPopular
fjdiewornncalwe22-Dec-10 5:15
professionalfjdiewornncalwe22-Dec-10 5:15 
GeneralRe: What a fright!! Pin
_Erik_22-Dec-10 5:24
_Erik_22-Dec-10 5:24 
GeneralRe: What a fright!! Pin
Dwayne J. Baldwin27-Dec-10 7:31
Dwayne J. Baldwin27-Dec-10 7:31 
GeneralHow I accidentally slowed gr1d's server to a crawl... [modified] Pin
dawmail33321-Dec-10 22:08
dawmail33321-Dec-10 22:08 

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.