Re: [Pharo-users] Why should we not rely on #atEnd?

2018-03-26 Thread Alistair Grant
Hi Herby, On 26 March 2018 at 18:51, Herbert Vojčík wrote: > Citing from > https://pharo.fogbugz.com/f/cases/21577/Cannot-read-from-dev-urandom, > > But we still shouldn't be relying on #atEnd so ... -- Alistair Grant > > Why should we not rely on #atEnd? I had the impression

Re: [Pharo-users] Why should we not rely on #atEnd?

2018-03-26 Thread Stephane Ducasse
reading the bug entry is worth Thanks for posting it. Stef On Mon, Mar 26, 2018 at 8:04 PM, Stephane Ducasse wrote: > Hi herbert > > I did not read the issue but I imagine that it may be linked to the > fact that it raises an exception or not. > Now streams can also be

Re: [Pharo-users] Why should we not rely on #atEnd?

2018-03-26 Thread Stephane Ducasse
Hi herbert I did not read the issue but I imagine that it may be linked to the fact that it raises an exception or not. Now streams can also be infinite so atEnd: for them is always false. Stef On Mon, Mar 26, 2018 at 6:51 PM, Herbert Vojčík wrote: > Citing from >

[Pharo-users] Why should we not rely on #atEnd?

2018-03-26 Thread Herbert Vojčík
Citing from https://pharo.fogbugz.com/f/cases/21577/Cannot-read-from-dev-urandom, But we still shouldn't be relying on #atEnd so ... -- Alistair Grant Why should we not rely on #atEnd? I had the impression that it is one of the most fundamental stream APIs, alongside next, nextPut: and