[ENH] FileNamedDo-ab (v. 2,
added a bunch of similar methods) ( could have fewer methods )
Lex Spoon
lex at cc.gatech.edu
Fri Jan 30 04:42:00 UTC 2004
Instead of adding a zillion variant methods, an alternative is to have
one closeAfter: method. Then you'd write the code like this:
file := FileStream <insert one of bazillion open commands>.
file closeAfter: [ ... ]
<This post brought to you by BFAV2>
More information about the Squeak-dev
mailing list
|