Click here to Skip to main content
15,879,184 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.

 
AnswerRe: Subclassing Pin
Ian Shlasko1-Apr-10 10:56
Ian Shlasko1-Apr-10 10:56 
GeneralEncoding IP addresses Pin
Bernhard Hiller26-Mar-10 4:31
Bernhard Hiller26-Mar-10 4:31 
GeneralRe: Encoding IP addresses Pin
adgonz26-Mar-10 5:36
adgonz26-Mar-10 5:36 
GeneralRe: Encoding IP addresses Pin
reflex@codeproject30-Mar-10 8:24
reflex@codeproject30-Mar-10 8:24 
GeneralRe: Encoding IP addresses Pin
adgonz30-Mar-10 8:54
adgonz30-Mar-10 8:54 
GeneralRe: Encoding IP addresses Pin
supercat97-Apr-10 7:29
supercat97-Apr-10 7:29 
GeneralThat's an useless class Pin
doud26-Mar-10 3:19
professionaldoud26-Mar-10 3:19 
GeneralRe: That's an useless class Pin
Covean26-Mar-10 4:00
Covean26-Mar-10 4:00 
My favs are:

public static string GetHour() - very confusing if you take a look at functions like GetDay/GetMonth...
public static bool IsDate(DateTime date) - how is this function able not to return true?
Greetings
Covean

GeneralRe: That's an useless class Pin
V.26-Mar-10 4:59
professionalV.26-Mar-10 4:59 
GeneralRe: That's an useless class Pin
Som Shekhar27-Mar-10 4:19
Som Shekhar27-Mar-10 4:19 
GeneralRe: That's an useless class Pin
nxaspisol27-Mar-10 22:31
nxaspisol27-Mar-10 22:31 
GeneralRe: That's an useless class Pin
Don Kackman29-Mar-10 14:37
Don Kackman29-Mar-10 14:37 
GeneralMidPointRounding for Math.Round() method in .Net Application Pin
elizas24-Mar-10 1:03
elizas24-Mar-10 1:03 
GeneralRe: MidPointRounding for Math.Round() method in .Net Application Pin
Keith Barrow24-Mar-10 1:30
professionalKeith Barrow24-Mar-10 1:30 
GeneralRe: MidPointRounding for Math.Round() method in .Net Application Pin
PIEBALDconsult24-Mar-10 5:13
mvePIEBALDconsult24-Mar-10 5:13 
GeneralRe: MidPointRounding for Math.Round() method in .Net Application Pin
David Skelly24-Mar-10 7:38
David Skelly24-Mar-10 7:38 
GeneralRe: MidPointRounding for Math.Round() method in .Net Application Pin
fabrice.leal24-Mar-10 7:50
fabrice.leal24-Mar-10 7:50 
GeneralRe: MidPointRounding for Math.Round() method in .Net Application Pin
David Skelly24-Mar-10 23:39
David Skelly24-Mar-10 23:39 
JokeRe: MidPointRounding for Math.Round() method in .Net Application Pin
Jeremy Tierman25-Mar-10 7:11
Jeremy Tierman25-Mar-10 7:11 
GeneralRe: MidPointRounding for Math.Round() method in .Net Application Pin
peterchen24-Mar-10 22:42
peterchen24-Mar-10 22:42 
GeneralThe next big paradigm shift in database design Pin
Jeroen De Dauw22-Mar-10 10:57
Jeroen De Dauw22-Mar-10 10:57 
GeneralRe: The next big paradigm shift in database design Pin
Dalek Dave22-Mar-10 15:33
professionalDalek Dave22-Mar-10 15:33 
GeneralRe: The next big paradigm shift in database design Pin
Luc Pattyn22-Mar-10 16:18
sitebuilderLuc Pattyn22-Mar-10 16:18 
GeneralRe: The next big paradigm shift in database design Pin
cptKoala22-Mar-10 20:50
cptKoala22-Mar-10 20:50 
GeneralRe: The next big paradigm shift in database design Pin
Bernhard Hiller23-Mar-10 0:35
Bernhard Hiller23-Mar-10 0:35 

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.