> > On Fri, Jan 4, 2019 at 12:26 AM Martin McClure <[email protected]> > wrote: > >> >> > >> >> Lazy opening is rather odd conceptually, and doesn't seem to meet the >> principle of least surprise, so I'd think deprecating it would be >> reasonable. >> > > Agreed. > Personally I think FileHandle needs some cleanup, to me it looks strange > that it acquires a vm file handle, and then it operates on it through > primitives, when the File class already does that properly. >
And even just change the code to do it in a non-lazy way. I don't think the lazy opening is exposed through any of FileSystem's API.
