Click here to Skip to main content
16,003,462 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 7:00
sitebuilderShog913-Mar-07 7:00 
GeneralRe: For loop Pin
Ed.Poore13-Mar-07 7:03
Ed.Poore13-Mar-07 7:03 
GeneralRe: For loop Pin
#12313-Mar-07 7:35
#12313-Mar-07 7:35 
GeneralRe: For loop Pin
#12313-Mar-07 7:33
#12313-Mar-07 7:33 
GeneralRe: For loop Pin
Shog913-Mar-07 7:51
sitebuilderShog913-Mar-07 7:51 
GeneralRe: For loop Pin
#12313-Mar-07 7:59
#12313-Mar-07 7:59 
GeneralRe: For loop Pin
Shog913-Mar-07 8:07
sitebuilderShog913-Mar-07 8:07 
GeneralRe: For loop Pin
#12313-Mar-07 8:31
#12313-Mar-07 8:31 
Shog9 wrote:
what matters is that you're precise and thorough


You forgot "natural" and "convenient". There are many forms of expression that are precise and thorough but are nevertheless not desirable because they are obscure or unnatural. This definition, for example, is precise and thorough:

numDays=0x0111;

But I wouldn't want to code that way, and certainly wouldn't want to address my apparently intelligent machine like that.
GeneralRe: For loop Pin
Shog913-Mar-07 8:40
sitebuilderShog913-Mar-07 8:40 
GeneralRe: For loop Pin
#12313-Mar-07 8:49
#12313-Mar-07 8:49 
GeneralRe: For loop Pin
Shog913-Mar-07 9:01
sitebuilderShog913-Mar-07 9:01 
GeneralRe: For loop Pin
#12313-Mar-07 9:05
#12313-Mar-07 9:05 
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 
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 

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.