Click here to Skip to main content
16,020,666 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.

 
GeneralVB6 code that emits VB6 code Pin
MrChug7-May-14 16:12
MrChug7-May-14 16:12 
GeneralI can't set title for this post!!! Pin
Meysam Toluie2-May-14 18:45
Meysam Toluie2-May-14 18:45 
GeneralRe: I can't set title for this post!!! <- then what's that? You trying to confuse me? Pin
Eddy Vluggen3-May-14 8:25
professionalEddy Vluggen3-May-14 8:25 
GeneralRe: I can't set title for this post!!! Pin
PIEBALDconsult3-May-14 12:14
mvePIEBALDconsult3-May-14 12:14 
GeneralRe: I can't set title for this post!!! Pin
cpkilekofp19-Jun-14 11:05
cpkilekofp19-Jun-14 11:05 
GeneralSome useful extension methods Pin
Brisingr Aerowing2-May-14 13:41
professionalBrisingr Aerowing2-May-14 13:41 
GeneralRe: Some useful extension methods Pin
PIEBALDconsult2-May-14 14:50
mvePIEBALDconsult2-May-14 14:50 
GeneralRe: Some useful extension methods Pin
robocodeboy13-May-14 21:52
robocodeboy13-May-14 21:52 
I was going to suggest the same.
Basically, instead of writing someType.implements(interface) you write interface.IsAssignableFrom(someType) .

For some reason, when I encountered this method the first time, I thought that an "Implements" method would make more sense, even if they are basically the same.
QuestionRe: Some useful extension methods Pin
Matt T Heffron5-May-14 14:45
professionalMatt T Heffron5-May-14 14:45 
AnswerRe: Some useful extension methods Pin
Brisingr Aerowing5-May-14 15:30
professionalBrisingr Aerowing5-May-14 15:30 
GeneralRe: Some useful extension methods Pin
BobJanova6-May-14 0:43
BobJanova6-May-14 0:43 
GeneralThinking Inside the Box Pin
kmoorevs24-Apr-14 12:11
kmoorevs24-Apr-14 12:11 
GeneralRe: Thinking Inside the Box Pin
TheGreatAndPowerfulOz28-Apr-14 7:35
TheGreatAndPowerfulOz28-Apr-14 7:35 
GeneralRe: Thinking Inside the Box Pin
Nagy Vilmos29-Apr-14 11:05
professionalNagy Vilmos29-Apr-14 11:05 
GeneralRe: Thinking Inside the Box Pin
kmoorevs29-Apr-14 11:51
kmoorevs29-Apr-14 11:51 
GeneralRe: Thinking Inside the Box Pin
OriginalGriff30-Apr-14 8:13
mveOriginalGriff30-Apr-14 8:13 
GeneralRe: Thinking Inside the Box Pin
Argonia30-Apr-14 5:00
professionalArgonia30-Apr-14 5:00 
GeneralRe: Thinking Inside the Box Pin
ZurdoDev29-Apr-14 12:52
professionalZurdoDev29-Apr-14 12:52 
Generalconscious perma-coupling Pin
Duncan Edwards Jones20-Apr-14 12:17
professionalDuncan Edwards Jones20-Apr-14 12:17 
GeneralRe: conscious perma-coupling PinPopular
Shameel21-Apr-14 0:53
professionalShameel21-Apr-14 0:53 
GeneralRe: conscious perma-coupling Pin
BobJanova21-Apr-14 23:58
BobJanova21-Apr-14 23:58 
GeneralRe: conscious perma-coupling Pin
Duncan Edwards Jones22-Apr-14 0:10
professionalDuncan Edwards Jones22-Apr-14 0:10 
GeneralRe: conscious perma-coupling Pin
Lutosław30-Apr-14 22:18
Lutosław30-Apr-14 22:18 
GeneralRtf -WTF: why is it different? Pin
Bernhard Hiller15-Apr-14 4:56
Bernhard Hiller15-Apr-14 4:56 
GeneralRe: Rtf -WTF: why is it different? Pin
ledtech315-Apr-14 5:11
ledtech315-Apr-14 5:11 

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.