Click here to Skip to main content
13,298,551 members (52,895 online)

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 17:12
memberMrChug7-May-14 17:12 
GeneralI can't set title for this post!!! Pin
Meysam Tolouee2-May-14 19:45
memberMeysam Tolouee2-May-14 19:45 
GeneralRe: I can't set title for this post!!! <- then what's that? You trying to confuse me? Pin
Eddy Vluggen3-May-14 9:25
professionalEddy Vluggen3-May-14 9:25 
GeneralRe: I can't set title for this post!!! Pin
PIEBALDconsult3-May-14 13:14
memberPIEBALDconsult3-May-14 13:14 
GeneralRe: I can't set title for this post!!! Pin
cpkilekofp19-Jun-14 12:05
membercpkilekofp19-Jun-14 12:05 
GeneralSome useful extension methods Pin
Brisingr Aerowing2-May-14 14:41
professionalBrisingr Aerowing2-May-14 14:41 
GeneralRe: Some useful extension methods Pin
PIEBALDconsult2-May-14 15:50
memberPIEBALDconsult2-May-14 15:50 
GeneralRe: Some useful extension methods Pin
robocodeboy13-May-14 22:52
memberrobocodeboy13-May-14 22: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 15:45
professionalMatt T Heffron5-May-14 15:45 
AnswerRe: Some useful extension methods Pin
Brisingr Aerowing5-May-14 16:30
professionalBrisingr Aerowing5-May-14 16:30 
GeneralRe: Some useful extension methods Pin
BobJanova6-May-14 1:43
memberBobJanova6-May-14 1:43 
GeneralThinking Inside the Box Pin
kmoorevs24-Apr-14 13:11
memberkmoorevs24-Apr-14 13:11 
GeneralRe: Thinking Inside the Box Pin
ahmed zahmed28-Apr-14 8:35
memberahmed zahmed28-Apr-14 8:35 
GeneralRe: Thinking Inside the Box Pin
Nagy Vilmos29-Apr-14 12:05
professionalNagy Vilmos29-Apr-14 12:05 
GeneralRe: Thinking Inside the Box Pin
kmoorevs29-Apr-14 12:51
memberkmoorevs29-Apr-14 12:51 
GeneralRe: Thinking Inside the Box Pin
OriginalGriff30-Apr-14 9:13
protectorOriginalGriff30-Apr-14 9:13 
GeneralRe: Thinking Inside the Box Pin
Argonia30-Apr-14 6:00
professionalArgonia30-Apr-14 6:00 
GeneralRe: Thinking Inside the Box Pin
RyanDev29-Apr-14 13:52
mvpRyanDev29-Apr-14 13:52 
Generalconscious perma-coupling Pin
Duncan Edwards Jones20-Apr-14 13:17
professionalDuncan Edwards Jones20-Apr-14 13:17 
GeneralRe: conscious perma-coupling Pin
Shameel21-Apr-14 1:53
memberShameel21-Apr-14 1:53 
GeneralRe: conscious perma-coupling Pin
BobJanova22-Apr-14 0:58
memberBobJanova22-Apr-14 0:58 
GeneralRe: conscious perma-coupling Pin
Duncan Edwards Jones22-Apr-14 1:10
professionalDuncan Edwards Jones22-Apr-14 1:10 
GeneralRe: conscious perma-coupling Pin
Jacek Gajek30-Apr-14 23:18
memberJacek Gajek30-Apr-14 23:18 
GeneralRtf -WTF: why is it different? Pin
Bernhard Hiller15-Apr-14 5:56
professionalBernhard Hiller15-Apr-14 5:56 
GeneralRe: Rtf -WTF: why is it different? Pin
ledtech315-Apr-14 6:11
memberledtech315-Apr-14 6: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.


Advertise | Privacy |
Web01 | 2.8.171207.1 | Last Updated 16 Dec 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid