[squeak-dev] Stream nextPutAll: with an OrderedCollection go boom

tim Rowledge tim at rowledge.org
Tue Mar 30 21:31:41 UTC 2021



> On 2021-03-30, at 1:05 PM, Levente Uzonyi <leves at caesar.elte.hu> wrote:
> 
> I still agree with my previous answers[1]: don't do that. Just use OrderedCollection's own API if you want to build a collection.

Well, yeah, but.

I like things to be decently uniform and at least try to meet the implicit contract. In this case the problem is purely because the test to do a 'fast hack' wrongly passes.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Security announcement - as of next week, passwords will be entered in Morse code.




More information about the Squeak-dev mailing list