[squeak-dev] #in: for collections

Bert Freudenberg bert at freudenbergs.de
Sat Dec 26 17:41:50 UTC 2009


On 26.12.2009, at 16:08, Colin Putney wrote:
> 
> 
>> In my example, "#getChannels" is an external library call returning an array, this is the code that converts the raw result into a proper object structure. You can argue that low-level code like this is okay to look like (2) but I'd say it doesn't have to ;)
> 
> 
> My first thought on reading the code was "Why the heck is he passing around arrays like that? Make it an object!" Preaching to the choir, I guess. :-)

That objection was precisely the reason I put the paragraph in ;)

- Bert -





More information about the Squeak-dev mailing list