Click here to Skip to main content
15,887,175 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: Let's call him J. S. Crypt Pin
Richard Deeming11-Jan-17 3:01
mveRichard Deeming11-Jan-17 3:01 
GeneralRe: Let's call him J. S. Crypt Pin
Marc Clifton11-Jan-17 3:54
mvaMarc Clifton11-Jan-17 3:54 
GeneralRe: Let's call him J. S. Crypt Pin
F-ES Sitecore11-Jan-17 4:14
professionalF-ES Sitecore11-Jan-17 4:14 
GeneralRe: Let's call him J. S. Crypt Pin
megaadam11-Jan-17 3:28
professionalmegaadam11-Jan-17 3:28 
GeneralRe: Let's call him J. S. Crypt Pin
Kornfeld Eliyahu Peter11-Jan-17 3:29
professionalKornfeld Eliyahu Peter11-Jan-17 3:29 
GeneralRe: Let's call him J. S. Crypt Pin
Jörgen Andersson11-Jan-17 3:46
professionalJörgen Andersson11-Jan-17 3:46 
GeneralRe: Let's call him J. S. Crypt Pin
Marc Clifton11-Jan-17 3:52
mvaMarc Clifton11-Jan-17 3:52 
GeneralRe: Let's call him J. S. Crypt Pin
den2k8811-Jan-17 4:10
professionalden2k8811-Jan-17 4:10 
Or it is a person who seldom worked with .NET and had to bring up a solution for yesterday. I have the same issue with old code written in VB6 by "programmers" who at the time used QBasic (yes, first instance of our software worked under DOS).

Besides, today there is .NET 4.6something, I only worked with 3.5 so I would probably write code which does not use any new functionality due to lack of experience / knowledge of them.
DURA LEX, SED LEX
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X

If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver

When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani

GeneralRe: Let's call him J. S. Crypt Pin
Jörgen Andersson11-Jan-17 4:29
professionalJörgen Andersson11-Jan-17 4:29 
GeneralRe: Let's call him J. S. Crypt Pin
Paulo Zemek11-Jan-17 6:03
mvaPaulo Zemek11-Jan-17 6:03 
GeneralRe: Let's call him J. S. Crypt Pin
Jon McKee11-Jan-17 6:14
professionalJon McKee11-Jan-17 6:14 
GeneralRe: Let's call him J. S. Crypt Pin
Paulo Zemek11-Jan-17 10:57
mvaPaulo Zemek11-Jan-17 10:57 
GeneralRe: Let's call him J. S. Crypt Pin
Marc Clifton14-Jan-17 10:39
mvaMarc Clifton14-Jan-17 10:39 
GeneralRe: Let's call him J. S. Crypt Pin
Paulo Zemek14-Jan-17 11:14
mvaPaulo Zemek14-Jan-17 11:14 
GeneralRe: Let's call him J. S. Crypt Pin
mbb0111-Jan-17 22:47
mbb0111-Jan-17 22:47 
GeneralRe: Let's call him J. S. Crypt Pin
Mike Marynowski12-Jan-17 1:15
professionalMike Marynowski12-Jan-17 1:15 
GeneralRe: Let's call him J. S. Crypt Pin
PIEBALDconsult12-Jan-17 2:44
mvePIEBALDconsult12-Jan-17 2:44 
GeneralRe: Let's call him J. S. Crypt Pin
Mike Marynowski12-Jan-17 2:47
professionalMike Marynowski12-Jan-17 2:47 
GeneralRe: Let's call him J. S. Crypt Pin
PIEBALDconsult12-Jan-17 2:51
mvePIEBALDconsult12-Jan-17 2:51 
RantWell, there goes 5 hours! Pin
kmoorevs8-Jan-17 7:27
kmoorevs8-Jan-17 7:27 
GeneralRe: Well, there goes 5 hours! Pin
F-ES Sitecore8-Jan-17 22:00
professionalF-ES Sitecore8-Jan-17 22:00 
GeneralRe: Well, there goes 5 hours! Pin
Spoon Of Doom15-Jan-17 20:55
Spoon Of Doom15-Jan-17 20:55 
GeneralBash Web Browser Pin
Brisingr Aerowing5-Jan-17 16:38
professionalBrisingr Aerowing5-Jan-17 16:38 
GeneralRe: Bash Web Browser Pin
Chris Maunder5-Jan-17 16:56
cofounderChris Maunder5-Jan-17 16:56 
GeneralRe: Bash Web Browser Pin
Sander Rossel5-Jan-17 21:32
professionalSander Rossel5-Jan-17 21:32 

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.