Click here to Skip to main content
15,888,351 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: one indian song for the salary Pin
Ravi Sant16-Dec-10 23:27
Ravi Sant16-Dec-10 23:27 
GeneralRe: one indian song for the salary Pin
fjdiewornncalwe15-Dec-10 4:07
professionalfjdiewornncalwe15-Dec-10 4:07 
GeneralRe: one indian song for the salary Pin
HimanshuJoshi15-Dec-10 14:32
HimanshuJoshi15-Dec-10 14:32 
GeneralRe: one indian song for the salary Pin
BillW3317-Dec-10 3:00
professionalBillW3317-Dec-10 3:00 
JokeHow to get the logged in user Pin
NikoTanghe8-Dec-10 4:51
NikoTanghe8-Dec-10 4:51 
JokeRe: How to get the logged in user Pin
Kevin Drzycimski8-Dec-10 9:36
Kevin Drzycimski8-Dec-10 9:36 
GeneralRe: How to get the logged in user Pin
Manfred Rudolf Bihy8-Dec-10 21:29
professionalManfred Rudolf Bihy8-Dec-10 21:29 
GeneralWould you laugh or cry? PinPopular
vnmatt6-Dec-10 16:33
vnmatt6-Dec-10 16:33 
Not so long ago, I came across this:

C#
public class StringUtils
{
   public bool IsNullOrEmpty(string s)
   {
      return string.IsNullOrEmpty(s);
   }
}


What a gem, hey? I don't know whether to laugh or cry...
GeneralRe: Would you laugh or cry? PinPopular
AspDotNetDev6-Dec-10 16:46
protectorAspDotNetDev6-Dec-10 16:46 
GeneralRe: Would you laugh or cry? Pin
vnmatt6-Dec-10 16:58
vnmatt6-Dec-10 16:58 
GeneralRe: Would you laugh or cry? Pin
RobCroll10-Dec-10 1:51
RobCroll10-Dec-10 1:51 
GeneralRe: Would you laugh or cry? Pin
vnmatt10-Dec-10 3:19
vnmatt10-Dec-10 3:19 
GeneralRe: Would you laugh or cry? Pin
_Erik_7-Dec-10 1:25
_Erik_7-Dec-10 1:25 
GeneralRe: Would you laugh or cry? Pin
vnmatt7-Dec-10 2:38
vnmatt7-Dec-10 2:38 
GeneralRe: Would you laugh or cry? Pin
fjdiewornncalwe7-Dec-10 5:14
professionalfjdiewornncalwe7-Dec-10 5:14 
GeneralRe: Would you laugh or cry? Pin
Zdeslav Vojkovic8-Dec-10 0:21
Zdeslav Vojkovic8-Dec-10 0:21 
GeneralRe: Would you laugh or cry? Pin
vnmatt8-Dec-10 2:16
vnmatt8-Dec-10 2:16 
GeneralStill don't know whether to laugh or cry... Pin
vnmatt8-Dec-10 14:43
vnmatt8-Dec-10 14:43 
GeneralRe: Still don't know whether to laugh or cry... Pin
BillW339-Dec-10 2:57
professionalBillW339-Dec-10 2:57 
GeneralRe: Would you laugh or cry? Pin
Ravi Sant22-Dec-10 2:20
Ravi Sant22-Dec-10 2:20 
GeneralSearch the causal link between this and devs going mad o_O Pin
Jeroen De Dauw5-Dec-10 14:55
Jeroen De Dauw5-Dec-10 14:55 
GeneralImplode / Join Pin
Jeroen De Dauw4-Dec-10 17:30
Jeroen De Dauw4-Dec-10 17:30 
GeneralCatch an Exception... then throw it? PinPopular
doja9327-Nov-10 15:13
doja9327-Nov-10 15:13 
GeneralRe: Catch an Exception... then throw it? PinPopular
Rod Kemp27-Nov-10 19:12
Rod Kemp27-Nov-10 19:12 
GeneralRe: Catch an Exception... then throw it? Pin
AspDotNetDev27-Nov-10 19:39
protectorAspDotNetDev27-Nov-10 19:39 

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.