On Tue, Dec 12, 2000 at 01:02:09PM -0600, Jarkko Hietaniemi wrote: > Nice idea in principle but the real world is kinda complex. > > > =code perl > > Which Perl? I have several different versions installed. With which > options? Environment variables? > > > =code C > > printf("Hello World\n"); > > If I have a hello.c with those contents it will most certainly not > compile... and if compiled, with which compiler? Compiler options? > Etc. > > > =code shell > > Which shell? sh? csh? bash? tcsh? zsh? ksh? Etc. Also, no matter what the language, yet another problem quickly becomes apparent if you really start doing something like the suggestion (I one actually did, ahem...) The suggested model assumes each of the code snippets are both self-contained and correct. The first assumption will trip us if a later snippet requires something from previous snippets to compile. The second assumption: how does one demonstrate *illegal* code if the requirement is that each code snippet should compile okay? (whatever that means for shells, I don't know) -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack CohenThread Previous | Thread Next