Click here to Skip to main content
15,890,123 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
J a a n s30-May-08 6:19
professionalJ a a n s30-May-08 6:19 
JokeRe: OK how do you like this: JavaScript in SQL? Pin
MarkB77730-May-08 23:28
MarkB77730-May-08 23:28 
GeneralRe: OK how do you like this: JavaScript in SQL? Pin
Yusuf2-Jun-08 7:38
Yusuf2-Jun-08 7:38 
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 
che3358 wrote:
is better than


Certainly not better, but even MS presenters will do that because it matches what they're saying*.
Unfortunately the newbies in the crowd get the idea that it is the proper way to write it.

It's part of why I voted "Microsoft" to this week's poll.


* That's an assumption, but I saw it several times during the VS 2008 {launch} event, I cringed every time.
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
mve#realJSOP10-Jun-08 6:50 
Generalarray size PinPopular
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 

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.