Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!uunet!nuchat!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.society.futures Subject: Re: C's sins of commission (was: (pssst...fortran?)) Message-ID: Date: 28 Sep 90 20:41:25 GMT References: <9009202236.AA21344@raven.pa.dec.com> <63647@lanl.gov> <5006@uqcspe.cs.uq.oz.au> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 7 In article <5006@uqcspe.cs.uq.oz.au> brendan@batserver.cs.uq.oz.au writes: > Even allowing functions to look at global state variables leads to confusion, > letting them change them means you don't have a function and terms are > not terms. What is the point of such confusion? OK, how do you implement the function "rnd", which returns a random number, without letting it have side effects? -- Peter da Silva. `-_-' +1 713 274 5180. 'U` peter@ferranti.com