Click here to Skip to main content
15,887,746 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
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 
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 
A common one in this forum is functions used that don't actually do anything. Well here is one I have just found too...

public static bool ToBoolean(bool value);

...forget where I seen this now Laugh | :laugh: (no wonder it is seen so often, people obviously read too much documentation lol)


PS. I am assuming most no exactly where I found this Convertion function
return 5;

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 
GeneralRe: How I accidentally slowed gr1d's server to a crawl... Pin
Dwayne J. Baldwin27-Dec-10 7:58
Dwayne J. Baldwin27-Dec-10 7:58 
GeneralRe: How I accidentally slowed gr1d's server to a crawl... Pin
dawmail33327-Dec-10 13:14
dawmail33327-Dec-10 13:14 

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.