allProtocols vs protocols
Nov. 24, 2013
9:08 p.m.
I have a question: why allProtocols returns an array and protocols a set? allProtocols ^ { allProtocol }, protocols asArray protocols ^ protocols protocolsNames ^ protocols collect: #name as: Array initialize super initialize. protocols := IdentitySet new. allProtocol := AllProtocol protocolOrganizer: self. to me it looks suspicious and it will be a source of bugs. Stef
4632
Age (days ago)
4632
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéphane Ducasse