[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz] Tuukkah's generator problem
From: |
Antti-Juhani Kaijanaho |
Subject: |
Re: [Gzz] Tuukkah's generator problem |
Date: |
Mon, 7 Apr 2003 12:16:43 +0300 |
User-agent: |
Mutt/1.5.4i |
On 20030407T120550+0300, Tuomas Lukka wrote:
> No, the *makefile* runs it right, with
>
> (cd ../..; src/jni/Generator)
>
> it's the program itself that doesn't check. Added to Tuukka's TODO.
That's not what I meant. It is generally a good idea to code
defensively, to check that you are given correct parameters, if you can
afford it in terms of execution efficiency. In this case, the cwd is an
implicit parameter.
--
%%% Antti-Juhani Kaijanaho % address@hidden % http://www.iki.fi/gaia/ %%%
Taiteellisen ohjelmoinnin ystävien seura Toys - Ohjelmointi on myös taidetta
http://www.cc.jyu.fi/yhd/toys/