Click here to Skip to main content
11,490,266 members (51,957 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: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
Mohammed Hameed21-Jun-13 4:50
professionalMohammed Hameed21-Jun-13 4:50 
GeneralRe: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
jim lahey21-Jun-13 4:52
memberjim lahey21-Jun-13 4:52 
GeneralRe: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
Mohammed Hameed21-Jun-13 4:57
professionalMohammed Hameed21-Jun-13 4:57 
GeneralRe: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
OriginalGriff21-Jun-13 5:09
protectorOriginalGriff21-Jun-13 5:09 
GeneralRe: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
Mohammed Hameed21-Jun-13 5:20
professionalMohammed Hameed21-Jun-13 5:20 
GeneralRe: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
ihoecken24-Jun-13 2:27
memberihoecken24-Jun-13 2:27 
GeneralRe: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
Mohammed Hameed24-Jun-13 2:36
professionalMohammed Hameed24-Jun-13 2:36 
GeneralRe: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
ihoecken24-Jun-13 3:01
memberihoecken24-Jun-13 3:01 
GeneralRe: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
Mohammed Hameed24-Jun-13 3:14
professionalMohammed Hameed24-Jun-13 3:14 
GeneralRe: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
Stefan_Lang26-Jul-13 1:40
memberStefan_Lang26-Jul-13 1:40 
GeneralRe: Why some of them (developers) dont confuse using Global variables heavily or they aren't aware of reality. Pin
Mohammed Hameed26-Jul-13 3:11
professionalMohammed Hameed26-Jul-13 3:11 
GeneralHello? I guess Pin
Member 970438320-Jun-13 4:11
memberMember 970438320-Jun-13 4:11 
JokeRe: Hello? I guess Pin
Guirec Le Bars20-Jun-13 7:14
professionalGuirec Le Bars20-Jun-13 7:14 
GeneralRe: Hello? I guess Pin
krumia20-Jun-13 19:52
memberkrumia20-Jun-13 19:52 
I have decided to write a compiler that handles a robotic arm to slap the developer when this kind of code is fed to it. D'Oh! | :doh:
GeneralRe: Hello? I guess Pin
Giuseppe Tollini21-Jun-13 7:06
memberGiuseppe Tollini21-Jun-13 7:06 
GeneralRe: Hello? I guess Pin
loctrice24-Jun-13 11:37
memberloctrice24-Jun-13 11:37 
GeneralRe: Hello? I guess Pin
Rajesh Anuhya25-Jun-13 2:36
professionalRajesh Anuhya25-Jun-13 2:36 
GeneralRe: Hello? I guess Pin
Rob Grainger24-Jun-13 0:50
memberRob Grainger24-Jun-13 0:50 
GeneralRe: Hello? I guess Pin
Joan Murt30-Jun-13 22:03
professionalJoan Murt30-Jun-13 22:03 
GeneralRe: Hello? I guess Pin
ihoecken25-Jun-13 6:12
memberihoecken25-Jun-13 6:12 
GeneralRe: Hello? I guess Pin
vonb25-Jun-13 21:37
professionalvonb25-Jun-13 21:37 
JokeRe: Hello? I guess Pin
Killzone DeathMan28-Jun-13 6:34
groupKillzone DeathMan28-Jun-13 6:34 
GeneralHow not to catch the exception Pin
feeza_n3n20-Jun-13 0:32
memberfeeza_n3n20-Jun-13 0:32 
GeneralRe: How not to catch the exception Pin
Mohammed Hameed20-Jun-13 1:32
professionalMohammed Hameed20-Jun-13 1:32 
GeneralRe: How not to catch the exception Pin
jim lahey20-Jun-13 2:55
memberjim lahey20-Jun-13 2:55 
GeneralRe: How not to catch the exception Pin
jim lahey20-Jun-13 2:54
memberjim lahey20-Jun-13 2:54 
GeneralRe: How not to catch the exception Pin
GastonV20-Jun-13 4:09
memberGastonV20-Jun-13 4:09 
GeneralRe: How not to catch the exception Pin
Richard Deeming20-Jun-13 4:56
professionalRichard Deeming20-Jun-13 4:56 
GeneralRe: How not to catch the exception Pin
GastonV20-Jun-13 5:30
memberGastonV20-Jun-13 5:30 
GeneralSomething is not as I expected Pin
Mohibur Rashid19-Jun-13 23:40
professionalMohibur Rashid19-Jun-13 23:40 
GeneralRe: Something is not as I expected Pin
Amitosh Swain20-Jun-13 18:53
memberAmitosh Swain20-Jun-13 18:53 
GeneralRe: Something is not as I expected Pin
Mohibur Rashid20-Jun-13 23:25
professionalMohibur Rashid20-Jun-13 23:25 
GeneralRe: Something is not as I expected Pin
Amitosh Swain20-Jun-13 23:32
memberAmitosh Swain20-Jun-13 23:32 
GeneralRe: Something is not as I expected Pin
Rob Grainger24-Jun-13 0:57
memberRob Grainger24-Jun-13 0:57 
GeneralRe: Something is not as I expected Pin
Member 467320212-Jul-13 14:11
memberMember 467320212-Jul-13 14:11 
GeneralEverywhere a single Catch block used catching top Exception all times. Pin
Mohammed Hameed19-Jun-13 21:28
professionalMohammed Hameed19-Jun-13 21:28 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
cjb11019-Jun-13 22:13
membercjb11019-Jun-13 22:13 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Mohammed Hameed19-Jun-13 22:20
professionalMohammed Hameed19-Jun-13 22:20 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Rob Grainger24-Jun-13 1:02
memberRob Grainger24-Jun-13 1:02 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Jarek Kruza19-Jun-13 22:56
memberJarek Kruza19-Jun-13 22:56 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Mohammed Hameed19-Jun-13 23:08
professionalMohammed Hameed19-Jun-13 23:08 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Jarek Kruza20-Jun-13 2:30
memberJarek Kruza20-Jun-13 2:30 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Rob Grainger24-Jun-13 1:04
memberRob Grainger24-Jun-13 1:04 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Mohammed Hameed24-Jun-13 1:31
professionalMohammed Hameed24-Jun-13 1:31 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Chris Ross 224-Jun-13 3:32
memberChris Ross 224-Jun-13 3:32 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Rob Grainger24-Jun-13 5:08
memberRob Grainger24-Jun-13 5:08 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
V.20-Jun-13 0:25
professionalV.20-Jun-13 0:25 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Mohammed Hameed20-Jun-13 0:56
professionalMohammed Hameed20-Jun-13 0:56 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
cjb11020-Jun-13 1:12
membercjb11020-Jun-13 1:12 
GeneralRe: Everywhere a single Catch block used catching top Exception all times. Pin
Mohammed Hameed20-Jun-13 1:26
professionalMohammed Hameed20-Jun-13 1:26 

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.150520.1 | Last Updated 27 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid