Click here to Skip to main content
11,709,537 members (50,073 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, embarrasing 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: Misaligned elephants Pin
YvesDaoust23-Jul-13 22:51
memberYvesDaoust23-Jul-13 22:51 
GeneralRe: Misaligned elephants Pin
Matthew Faithfull23-Jul-13 23:10
professionalMatthew Faithfull23-Jul-13 23:10 
GeneralRe: Misaligned elephants Pin
Ralph Little24-Jul-13 6:32
memberRalph Little24-Jul-13 6:32 
GeneralRe: Misaligned elephants Pin
Member 460889824-Jul-13 10:02
memberMember 460889824-Jul-13 10:02 
GeneralRe: Misaligned elephants Pin
SortaCore24-Jul-13 0:04
memberSortaCore24-Jul-13 0:04 
GeneralRe: Misaligned elephants Pin
rbocquier24-Jul-13 0:39
memberrbocquier24-Jul-13 0:39 
GeneralRe: Misaligned elephants Pin
Matthew Faithfull24-Jul-13 0:53
professionalMatthew Faithfull24-Jul-13 0:53 
GeneralRe: Misaligned elephants Pin
Stuart Dootson24-Jul-13 5:18
memberStuart Dootson24-Jul-13 5:18 
GeneralRe: Misaligned elephants Pin
Matthew Faithfull24-Jul-13 5:24
professionalMatthew Faithfull24-Jul-13 5:24 
GeneralRe: Misaligned elephants Pin
jschell24-Jul-13 9:26
memberjschell24-Jul-13 9:26 
GeneralMessage Automatically Removed Pin
Brisingr Aerowing19-Jul-13 6:46
professionalBrisingr Aerowing19-Jul-13 6:46 
GeneralRe: Extension Methods Pin
Andrew Rissing19-Jul-13 7:06
memberAndrew Rissing19-Jul-13 7:06 
GeneralRe: Extension Methods Pin
Richard Deeming19-Jul-13 7:20
professionalRichard Deeming19-Jul-13 7:20 
GeneralRe: Extension Methods Pin
Gary Wheeler19-Jul-13 7:21
memberGary Wheeler19-Jul-13 7:21 
At least in .NET 3.5, your first function will throw an exception, since you are modifying the collection being enumerated.
Software Zen: delete this;

GeneralRe: Extension Methods Pin
TnTinMn19-Jul-13 8:00
memberTnTinMn19-Jul-13 8:00 
GeneralRe: Extension Methods Pin
Jacek Gajek19-Jul-13 8:08
memberJacek Gajek19-Jul-13 8:08 
GeneralRe: Extension Methods Pin
Richard Deeming19-Jul-13 8:55
professionalRichard Deeming19-Jul-13 8:55 
GeneralRe: Extension Methods Pin
Jacek Gajek19-Jul-13 9:06
memberJacek Gajek19-Jul-13 9:06 
GeneralRe: Extension Methods Pin
PIEBALDconsult19-Jul-13 8:09
professionalPIEBALDconsult19-Jul-13 8:09 
GeneralRe: Message Automatically Removed Pin
lewax0019-Jul-13 9:35
memberlewax0019-Jul-13 9:35 
GeneralRe: Message Automatically Removed Pin
ryanb3119-Jul-13 10:22
memberryanb3119-Jul-13 10:22 
GeneralRe: Message Automatically Removed Pin
lewax0021-Jul-13 11:03
memberlewax0021-Jul-13 11:03 
GeneralRe: Message Automatically Removed Pin
pkfox29-Jul-13 22:26
memberpkfox29-Jul-13 22:26 
GeneralThis one is for the Java experts Pin
Grimlock18-Jul-13 0:56
professionalGrimlock18-Jul-13 0:56 
GeneralRe: This one is for the Java experts Pin
Nagy Vilmos18-Jul-13 1:52
professionalNagy Vilmos18-Jul-13 1:52 
GeneralRe: This one is for the Java experts Pin
Fredrik Bornander18-Jul-13 2:10
memberFredrik Bornander18-Jul-13 2:10 
GeneralRe: This one is for the Java experts Pin
Grimlock18-Jul-13 2:27
professionalGrimlock18-Jul-13 2:27 
GeneralRe: This one is for the Java experts Pin
Nagy Vilmos18-Jul-13 3:54
professionalNagy Vilmos18-Jul-13 3:54 
GeneralRe: This one is for the Java experts Pin
svella23-Jul-13 3:57
membersvella23-Jul-13 3:57 
GeneralRe: This one is for the Java experts Pin
Brisingr Aerowing18-Jul-13 6:40
professionalBrisingr Aerowing18-Jul-13 6:40 
GeneralRe: This one is for the Java experts Pin
Amitosh S.M.18-Jul-13 15:53
memberAmitosh S.M.18-Jul-13 15:53 
GeneralRe: This one is for the Java experts Pin
ExcellentOrg22-Jul-13 21:30
groupExcellentOrg22-Jul-13 21:30 
GeneralRe: This one is for the Java experts Pin
englebart23-Jul-13 2:57
memberenglebart23-Jul-13 2:57 
GeneralTasks and stack traces... Pin
Dave Kreskowiak17-Jul-13 7:18
mvpDave Kreskowiak17-Jul-13 7:18 
GeneralRe: Tasks and stack traces... Pin
Nagy Vilmos17-Jul-13 9:24
professionalNagy Vilmos17-Jul-13 9:24 
GeneralRe: Tasks and stack traces... Pin
Dave Kreskowiak17-Jul-13 9:34
mvpDave Kreskowiak17-Jul-13 9:34 
GeneralRe: Tasks and stack traces... Pin
Nagy Vilmos17-Jul-13 10:02
professionalNagy Vilmos17-Jul-13 10:02 
GeneralRe: Tasks and stack traces... Pin
Dave Kreskowiak17-Jul-13 10:23
mvpDave Kreskowiak17-Jul-13 10:23 
GeneralEpic Visual Studios "No Code" Pin
Rain Dancer17-Jul-13 1:09
memberRain Dancer17-Jul-13 1:09 
GeneralRe: Epic Visual Studios "No Code" Pin
Argonia17-Jul-13 1:12
professionalArgonia17-Jul-13 1:12 
GeneralRe: Epic Visual Studios "No Code" Pin
Nicholas Marty17-Jul-13 1:41
professionalNicholas Marty17-Jul-13 1:41 
GeneralRe: Epic Visual Studios "No Code" Pin
johannesnestler17-Jul-13 1:46
memberjohannesnestler17-Jul-13 1:46 
GeneralRe: Epic Visual Studios "No Code" Pin
ScottM117-Jul-13 23:08
memberScottM117-Jul-13 23:08 
GeneralRe: Epic Visual Studios "No Code" Pin
Albert Holguin18-Jul-13 5:08
memberAlbert Holguin18-Jul-13 5:08 
GeneralRe: Epic Visual Studios "No Code" Pin
lewax0017-Jul-13 4:02
memberlewax0017-Jul-13 4:02 
GeneralRe: Epic Visual Studios "No Code" Pin
Dave Kreskowiak17-Jul-13 5:20
mvpDave Kreskowiak17-Jul-13 5:20 
GeneralRe: Epic Visual Studios "No Code" Pin
Albert Holguin18-Jul-13 5:09
memberAlbert Holguin18-Jul-13 5:09 
GeneralRe: Epic Visual Studios "No Code" Pin
Member 460889818-Jul-13 19:19
memberMember 460889818-Jul-13 19:19 
GeneralRe: Epic Visual Studios "No Code" Pin
Dave Kreskowiak19-Jul-13 2:23
mvpDave Kreskowiak19-Jul-13 2:23 
GeneralRe: Epic Visual Studios "No Code" Pin
Mohammed Hameed17-Jul-13 20:03
professionalMohammed Hameed17-Jul-13 20:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web04 | 2.8.150819.1 | Last Updated 31 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid