From: Austin Ziegler Date: 2003-07-20T07:23:42+09:00 Subject: Re: [Patch] FTP.new with block > On Sun, 20 Jul 2003, Gavin Sinclair wrote: >> My suggestion is: >> - disallow block for File.new (i.e. no change) >> - enforce block for File.open (because open implies close) I would recommend a change to this, based on Mathieu's objection -- which I consider valid. - add a new method: File.process (requires a block) "Warn" people to use File.process instead of File.open, but don't change File.open otherwise. -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2003.07.19 * 18:21:18