Click here to Skip to main content
15,887,485 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: String Comparison Pin
Nagy Vilmos25-Jun-12 21:59
professionalNagy Vilmos25-Jun-12 21:59 
GeneralRe: String Comparison Pin
Rotted Frog25-Jun-12 22:20
Rotted Frog25-Jun-12 22:20 
GeneralRe: String Comparison Pin
VallarasuS25-Jun-12 23:48
VallarasuS25-Jun-12 23:48 
GeneralRe: String Comparison Pin
AspDotNetDev26-Jun-12 8:53
protectorAspDotNetDev26-Jun-12 8:53 
GeneralRe: String Comparison Pin
Rahul Rajat Singh26-Jun-12 0:56
professionalRahul Rajat Singh26-Jun-12 0:56 
QuestionRe: String Comparison Pin
CoperNick26-Jun-12 12:36
CoperNick26-Jun-12 12:36 
GeneralRe: String Comparison Pin
ZurdoDev26-Jun-12 1:53
professionalZurdoDev26-Jun-12 1:53 
GeneralRe: String Comparison Pin
Vladimir Svyatski1-Jul-12 1:17
professionalVladimir Svyatski1-Jul-12 1:17 
I always wonder: why after many, many, many years people just can't learn to use caseless string comparison methods? I constantly see sh*t like this. Caseless comparison methods existed even in good old plain C. Damn, is it really that hard to master primitive things like this:
C#
if (String.Compare(name, "CamelCasedName", true) == 0) {...}
? In the end, it's not Lebesgue integration, right? Those, who ever had the "pleasure" to be familiar with functional analysis, know Smile | :) .
GeneraldataTables to to gridView Pin
Michael Sernal25-Jun-12 8:10
Michael Sernal25-Jun-12 8:10 
JokeRe: dataTables to to gridView Pin
Albert Holguin25-Jun-12 17:38
professionalAlbert Holguin25-Jun-12 17:38 
GeneralRe: dataTables to to gridView Pin
ZurdoDev26-Jun-12 1:55
professionalZurdoDev26-Jun-12 1:55 
GeneralSpecial Case PinPopular
Rotted Frog18-Jun-12 4:46
Rotted Frog18-Jun-12 4:46 
GeneralRe: Special Case Pin
Brisingr Aerowing18-Jun-12 5:01
professionalBrisingr Aerowing18-Jun-12 5:01 
GeneralRe: Special Case PinPopular
CDP180218-Jun-12 5:08
CDP180218-Jun-12 5:08 
GeneralRe: Special Case Pin
Brisingr Aerowing18-Jun-12 5:11
professionalBrisingr Aerowing18-Jun-12 5:11 
GeneralRe: Special Case Pin
PIEBALDconsult18-Jun-12 5:36
mvePIEBALDconsult18-Jun-12 5:36 
GeneralRe: Special Case Pin
Sentenryu18-Jun-12 7:00
Sentenryu18-Jun-12 7:00 
GeneralRe: Special Case PinPopular
RobCroll18-Jun-12 14:59
RobCroll18-Jun-12 14:59 
GeneralRe: Special Case Pin
hollysong18-Jun-12 20:08
hollysong18-Jun-12 20:08 
GeneralRe: Special Case Pin
YvesDaoust18-Jun-12 20:12
YvesDaoust18-Jun-12 20:12 
GeneralRe: Special Case PinPopular
Andrei Straut18-Jun-12 20:32
Andrei Straut18-Jun-12 20:32 
GeneralRe: Special Case Pin
YvesDaoust18-Jun-12 21:09
YvesDaoust18-Jun-12 21:09 
GeneralRe: Special Case Pin
Andrei Straut18-Jun-12 21:21
Andrei Straut18-Jun-12 21:21 
GeneralRe: Special Case PinPopular
YvesDaoust18-Jun-12 21:37
YvesDaoust18-Jun-12 21:37 
GeneralRe: Special Case Pin
ASkoro19-Jun-12 0:59
ASkoro19-Jun-12 0:59 

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.