Click here to Skip to main content
15,921,548 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: OK how do you like this: JavaScript in SQL? Pin
Mike Dimmick5-Jun-08 4:18
Mike Dimmick5-Jun-08 4:18 
Generalif...AND...else! [modified] Pin
che335830-May-08 3:38
che335830-May-08 3:38 
GeneralRe: if...AND...else! Pin
Chris Meech30-May-08 4:45
Chris Meech30-May-08 4:45 
JokeRe: if...AND...else! Pin
Jeremy Tierman30-May-08 13:39
Jeremy Tierman30-May-08 13:39 
GeneralRe: if...AND...else! Pin
PIEBALDconsult31-May-08 17:43
mvePIEBALDconsult31-May-08 17:43 
GeneralRe: if...AND...else! Pin
supercat931-May-08 18:25
supercat931-May-08 18:25 
GeneralRe: if...AND...else! Pin
Oshtri Deka1-Jun-08 22:30
professionalOshtri Deka1-Jun-08 22:30 
GeneralRe: if...AND...else! Pin
CDP18021-Jun-08 22:34
CDP18021-Jun-08 22:34 
GeneralRe: if...AND...else! Pin
Ware@Work3-Jun-08 8:38
Ware@Work3-Jun-08 8:38 
GeneralRe: if...AND...else! Pin
CDP18023-Jun-08 23:31
CDP18023-Jun-08 23:31 
GeneralRe: if...AND...else! Pin
Ware@Work4-Jun-08 3:08
Ware@Work4-Jun-08 3:08 
GeneralRe: if...AND...else! Pin
Rage2-Jun-08 2:24
professionalRage2-Jun-08 2:24 
GeneralRe: if...AND...else! Pin
KarstenK2-Jun-08 2:58
mveKarstenK2-Jun-08 2:58 
GeneralRe: if...AND...else! Pin
Yusuf2-Jun-08 7:39
Yusuf2-Jun-08 7:39 
GeneralRe: if...AND...else! Pin
#realJSOP10-Jun-08 6:50
professional#realJSOP10-Jun-08 6:50 
Generalarray size Pin
darth_bug29-May-08 23:31
darth_bug29-May-08 23:31 
QuestionRe: array size Pin
CPallini30-May-08 0:35
mveCPallini30-May-08 0:35 
AnswerRe: array size Pin
Vasudevan Deepak Kumar30-May-08 1:01
Vasudevan Deepak Kumar30-May-08 1:01 
GeneralRe: array size Pin
CPallini30-May-08 3:13
mveCPallini30-May-08 3:13 
AnswerRe: array size Pin
darth_bug30-May-08 1:31
darth_bug30-May-08 1:31 
GeneralRe: array size Pin
Mladen Janković30-May-08 1:46
Mladen Janković30-May-08 1:46 
GeneralRe: array size Pin
darkelv30-May-08 2:19
darkelv30-May-08 2:19 
GeneralRe: array size Pin
KarstenK2-Jun-08 3:02
mveKarstenK2-Jun-08 3:02 
GeneralRe: array size Pin
CDP18021-Jun-08 22:41
CDP18021-Jun-08 22:41 
Now you have me confused. Does this not show the correct array size when it is run?


Seriously, who knows what he thought he was doing. Sometimes everyone does not see the forest anymore because of all the trees. Things like that have happened to me, usually after editing the code several times in a hurry, leaving senseless relics like this appears to be.

A while ago he asked me what he should have printed on my business cards. I said 'Wizard'.

I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

GeneralRe: array size Pin
Rage2-Jun-08 2:27
professionalRage2-Jun-08 2:27 

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.