Click here to Skip to main content
15,887,746 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: piece of javascript code Pin
Shog923-Jun-07 9:22
sitebuilderShog923-Jun-07 9:22 
JokeRe: piece of javascript code Pin
codemunkeh27-Jun-07 6:52
codemunkeh27-Jun-07 6:52 
JokeRe: piece of javascript code Pin
Shog927-Jun-07 7:10
sitebuilderShog927-Jun-07 7:10 
GeneralRe: piece of javascript code Pin
codemunkeh27-Jun-07 7:23
codemunkeh27-Jun-07 7:23 
GeneralRe: piece of javascript code Pin
2b|!2b==?29-Jun-07 21:56
2b|!2b==?29-Jun-07 21:56 
GeneralRe: piece of javascript code Pin
Shog929-Jun-07 22:02
sitebuilderShog929-Jun-07 22:02 
GeneralRe: piece of javascript code Pin
2b|!2b==?29-Jun-07 22:42
2b|!2b==?29-Jun-07 22:42 
GeneralRe: piece of javascript code Pin
jhwurmbach2-Jul-07 0:51
jhwurmbach2-Jul-07 0:51 
2b|!2b==? wrote:
Let me nominate the value 47 as true.


47, being not equal to 'false', is 'true'.
What is your problem with that concept?

2b|!2b==? wrote:
So lets pustulate a language where zero and 47 are both true.


Stop, 0 is defined to being 'false'.

You might use the Humpty-Dumpty-boolean-logic, but please lets not confuse others.




*) Humpty appears in Lewis Carroll's 'Through the Looking-Glass', where he discusses semantics and pragmatics with Alice.

"When I use a word," Humpty Dumpty said, in rather a scornful tone, "it means just what I choose it to mean -- neither more nor less."

Among other things, he (mis-)explains the difficult words from Jabberwocky.



Failure is not an option - it's built right in.

GeneralRe: piece of javascript code Pin
Guffa6-Jul-07 23:26
Guffa6-Jul-07 23:26 
GeneralRe: piece of javascript code Pin
Erik Midtskogen3-Jul-07 8:49
Erik Midtskogen3-Jul-07 8:49 
GeneralRe: piece of javascript code Pin
Sathesh Sakthivel9-Jul-07 20:01
Sathesh Sakthivel9-Jul-07 20:01 
GeneralNested loops - gotta love them Pin
_Damian S_18-Jun-07 19:04
professional_Damian S_18-Jun-07 19:04 
GeneralRe: Nested loops - gotta love them Pin
Sylvester george18-Jun-07 23:12
Sylvester george18-Jun-07 23:12 
GeneralRe: Nested loops - gotta love them Pin
Michael Dunn23-Jun-07 9:12
sitebuilderMichael Dunn23-Jun-07 9:12 
GeneralRe: Nested loops - gotta love them Pin
StevenWalsh21-Jun-07 6:54
StevenWalsh21-Jun-07 6:54 
JokeRe: Nested loops - gotta love them Pin
Dave Sexton21-Jun-07 12:04
Dave Sexton21-Jun-07 12:04 
GeneralRe: Nested loops - gotta love them Pin
Lee Humphries21-Jun-07 12:42
professionalLee Humphries21-Jun-07 12:42 
GeneralRe: Nested loops - gotta love them Pin
Alberto Bar-Noy24-Jun-07 1:18
Alberto Bar-Noy24-Jun-07 1:18 
GeneralRe: Nested loops - gotta love them Pin
Sylvester george21-Jun-07 20:13
Sylvester george21-Jun-07 20:13 
GeneralRe: Nested loops - gotta love them Pin
StevenWalsh22-Jun-07 2:00
StevenWalsh22-Jun-07 2:00 
GeneralRe: Nested loops - gotta love them Pin
_Damian S_24-Jun-07 16:13
professional_Damian S_24-Jun-07 16:13 
GeneralRe: Nested loops - gotta love them Pin
DynV21-Jun-07 18:23
DynV21-Jun-07 18:23 
GeneralRe: Nested loops - gotta love them Pin
Vasudevan Deepak Kumar22-Jun-07 0:21
Vasudevan Deepak Kumar22-Jun-07 0:21 
GeneralRe: Nested loops - gotta love them Pin
KarstenK26-Jun-07 3:25
mveKarstenK26-Jun-07 3:25 
GeneralRe: Nested loops - gotta love them Pin
ThatsAlok16-Jul-07 20:47
ThatsAlok16-Jul-07 20:47 

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.