Sigbjorn Finne, you wrote:
> 
> > It certainly has its advantages, but I must say that I'm leaning
> > in the Haskell direction now.  Having the arguments and the environment
> > (and why not standard input, and maybe all the files in the file system?)
> > as global constants means that your program has dependencies on the
> > outside world that are not clearly visible in the program.  It goes
> > against the grain of pure functional programming.
> 
> But 1.3 already does this, stdin,stdout&stderr are global handle
> constants - so why not do it for something that *really* is constant?

There's a difference between the handle and its contents.
stdin etc. really are constant, it is just their contents (the
stuff you get if you read from that handle) that may vary.

-- 
Fergus Henderson <[EMAIL PROTECTED]>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED]         |     -- the last words of T. S. Garp.



Reply via email to