[squeak-dev] SharedQueue>>#nextOrNil
Lars Wassermann
lars.wassermann at student.hpi.uni-potsdam.de
Tue May 28 10:04:12 UTC 2013
Hello Squeak-dev,
SharedQueue>>#nextOrNil is deliberately implemented in such a way, that
it raises an error instead of returning nil, in case the Queue is empty.
>From the versions, it is obvious that this change was an 'improvement'.
Can anybody remember _why_ this change was done?
From a discussion in Mantis I know that for new projects, one should
use SharedQueue2 instead. But I can't change to SharedQueue2 because the
receiver is DeferredUIMessages, a class variable of WorldState.
Thank you.
- Lars
More information about the Squeak-dev
mailing list
|