[Newbies] A do with ONLY index? (plus,. a style question)

Blake blake at kingdomrpg.com
Sun Feb 4 09:35:33 UTC 2007


On Sat, 03 Feb 2007 20:44:50 -0800, Todd Blanchard <tblanchard at mac.com>  
wrote:

> initializeWithPoint: aPoint
>
> 	rows := (interval 1 to: aPoint x) collect: [:r | Array new: aPoint y].

Also, stylistically, is it preferred to have an instance-based initializer  
rather than a class-based variation on "new"?


More information about the Beginners mailing list