Click here to Skip to main content
15,903,203 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: For loop Pin
Shog913-Mar-07 9:27
sitebuilderShog913-Mar-07 9:27 
GeneralRe: For loop Pin
#12313-Mar-07 9:33
#12313-Mar-07 9:33 
GeneralRe: For loop Pin
Chris-Kaiser15-Mar-07 12:29
Chris-Kaiser15-Mar-07 12:29 
GeneralRe: For loop Pin
Chris-Kaiser15-Mar-07 12:28
Chris-Kaiser15-Mar-07 12:28 
GeneralRe: For loop Pin
Chris-Kaiser15-Mar-07 12:27
Chris-Kaiser15-Mar-07 12:27 
GeneralRe: For loop Pin
Jörgen Sigvardsson15-Mar-07 13:07
Jörgen Sigvardsson15-Mar-07 13:07 
GeneralRe: For loop Pin
Ed.Poore13-Mar-07 8:00
Ed.Poore13-Mar-07 8:00 
GeneralRe: For loop Pin
#12313-Mar-07 8:25
#12313-Mar-07 8:25 
Ed.Poore wrote:
How is that obtuse? If you've done any basic mathematics it's very simple to understand and cannot be interpreted in the multiple ways in which English can be.


It's obtuse because the expression is not natural for people outside of the programming community (which is tiny compared to the billions of others on the planet). For example, "numDays" is not a word in any dictionary I know. And "camel case" is not a normal form of capitalization. And "*" is not the usual symbol for multiplication. And "=" is not the normal way of saying "is". In other words, it's an unnatural mode of expression because it's not the way that most people would naturally express the thought.
GeneralRe: For loop Pin
Ed.Poore13-Mar-07 9:10
Ed.Poore13-Mar-07 9:10 
GeneralRe: For loop Pin
#12313-Mar-07 9:19
#12313-Mar-07 9:19 
GeneralRe: For loop Pin
Ed.Poore13-Mar-07 9:25
Ed.Poore13-Mar-07 9:25 
GeneralRe: For loop Pin
#12313-Mar-07 9:29
#12313-Mar-07 9:29 
GeneralRe: For loop Pin
Patrick Etc.13-Mar-07 14:47
Patrick Etc.13-Mar-07 14:47 
GeneralRe: For loop Pin
#12313-Mar-07 15:06
#12313-Mar-07 15:06 
GeneralRe: For loop Pin
Chris-Kaiser15-Mar-07 12:34
Chris-Kaiser15-Mar-07 12:34 
GeneralRe: For loop Pin
Jörgen Sigvardsson15-Mar-07 13:10
Jörgen Sigvardsson15-Mar-07 13:10 
GeneralRe: For loop Pin
Chris-Kaiser13-Apr-07 10:29
Chris-Kaiser13-Apr-07 10:29 
GeneralRe: For loop Pin
Jörgen Sigvardsson13-Apr-07 10:34
Jörgen Sigvardsson13-Apr-07 10:34 
GeneralRe: For loop Pin
Chris-Kaiser15-Mar-07 12:31
Chris-Kaiser15-Mar-07 12:31 
GeneralRe: For loop Pin
DavidNohejl13-Mar-07 7:33
DavidNohejl13-Mar-07 7:33 
JokeRe: For loop Pin
ChandraRam14-Mar-07 0:54
ChandraRam14-Mar-07 0:54 
GeneralRe: For loop Pin
#12313-Mar-07 7:38
#12313-Mar-07 7:38 
GeneralRe: For loop Pin
Jörgen Sigvardsson15-Mar-07 13:11
Jörgen Sigvardsson15-Mar-07 13:11 
GeneralRe: For loop Pin
DavidNohejl13-Mar-07 22:43
DavidNohejl13-Mar-07 22:43 
GeneralRe: For loop Pin
#12313-Mar-07 22:46
#12313-Mar-07 22:46 

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.