On Mon, Jul 19, 2004 at 03:37:12PM -0500, Rod Adams wrote:

> I think part of the "mental jam" (at least with me), is that the 
> read/write, exclusive, etc, are very critical to the act of opening the 
> file, not only an after the fact restriction on what I can do later. If 
> I cannot open a file for writing (permissions, out of space, write 
> locked, etc), I want to know the instant I attempt to open it as such, 
> _not_ when I later attempt to write to it.  Having all these features 
> available to open as arguements seems a much better idea to me. It's 
> "Open a file with these specifications", not "Open a file, and then 
> apply these specifications to it".
> 
> I do admit there is merit to your abstraction system, but IMO, it 
> belongs in a library.
> 
> -- Rod Adams

First, why are they incompatible?  Offer both, let TIMTOWTDI sort it
out.

Second, I would suggest that it NOT go in a library...this is
reasonably serious under-the-hood magic and should be integrated into
the core for efficiency.

--Dks

Reply via email to