Click here to Skip to main content
15,918,742 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
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 
GeneralRe: For loop Pin
DavidNohejl13-Mar-07 22:56
DavidNohejl13-Mar-07 22:56 
GeneralRe: For loop Pin
#12313-Mar-07 23:05
#12313-Mar-07 23:05 
GeneralRe: For loop Pin
DavidNohejl13-Mar-07 23:13
DavidNohejl13-Mar-07 23:13 
GeneralRe: For loop Pin
#12313-Mar-07 23:31
#12313-Mar-07 23:31 
GeneralRe: For loop Pin
DavidNohejl13-Mar-07 23:48
DavidNohejl13-Mar-07 23:48 
The Grand Negus wrote:
But HOW you say things does matter; some ways are better than others.


That was not subject of this debate, but you exactly nailed your problem.


The Grand Negus wrote:
Surely you can see that "repeat this 14 times" is easier for the average English-speaking person to grasp than "for(int i=0;i<14;i++){...}".


Why not throw away language of math when you are at it, and come back to, hmm, what? Early greek philosophy?? Mathematicians have natural language at their disposal since ever. Yet, they keep developing and using symbolic formal language(s)... How so? Maybe some ways are better then others. Sure, average Joe doesn't understand http://mathworld.wolfram.com/RampFunction.html[^]. So what, average Joe doesn't care about Fourier transform, either.




"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus

GeneralRe: For loop Pin
#12314-Mar-07 5:21
#12314-Mar-07 5:21 
GeneralRe: For loop Pin
DavidNohejl15-Mar-07 13:15
DavidNohejl15-Mar-07 13:15 
GeneralRe: For loop Pin
Chris-Kaiser15-Mar-07 12:37
Chris-Kaiser15-Mar-07 12:37 
GeneralRe: For loop Pin
PIEBALDconsult13-Mar-07 8:13
mvePIEBALDconsult13-Mar-07 8:13 
GeneralRe: For loop Pin
ricecake14-Mar-07 3:29
ricecake14-Mar-07 3:29 

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.