From: jeff_alexander_44@... Date: 2007-03-25T00:45:12+09:00 Subject: Re: scope and RAII On Mar 24, 11:27 am, Phillip Gawlowski wrote: > file = File.open("foo", "r") #opens foo in read-only mode > file.readlines { |f| print f } #prints each line > file.close #closes the file handle. I should have mentioned why I put "RAII" in the subject. The coding style you show above is exactly what I'm trying to avoid. http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization I'll preemptively ask that we not discuss the necessity of RAII; as a game programmer it is a necessity for me.