On Tue, 2007-09-11 at 10:29 +0200, Rhythmic Fistman wrote:
> > From: skaller <[EMAIL PROTECTED]>
> 
> > On Mon, 2007-09-10 at 15:27 -0700, Erick Tryzelaar wrote:
> 
> > If you make a programming error, and Felix detects it,
> > Felix aborts. This is right IMHO. It's a bug. Fix it!
> > Felix has a Zero Tolerance policy for bugs.
> >
> > So .. if you say 'open f' and f doesn't exist, Felix
> > aborts, as it should. Otherwise use
> 
> No, a file that you're about to open can be deleted by
> other processes. That's not your fault.

That's irrelevant. If you write a program which just opens
a file and can't work if the file can't be opened, the right
thing to do is abort the program. I have LOTS of such programs,
in fact almost every program I have, including Felix compiler
and most of my utility Python scripts are like that.

Not all programs are like that, for example Felix *.par files
are 'trial' opened but if the open fails it doesn't
matter because the *.par file is just a cache.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to