[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz] Tuukkah's generator problem
From: |
Tuomas Lukka |
Subject: |
Re: [Gzz] Tuukkah's generator problem |
Date: |
Mon, 7 Apr 2003 12:26:27 +0300 |
User-agent: |
Mutt/1.4.1i |
On Mon, Apr 07, 2003 at 12:16:43PM +0300, Antti-Juhani Kaijanaho wrote:
> 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.
Hmm?
> 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.
Yes, certainly - the item I added to the TODO is just that: that Generator
should check it.
In Generator, we can afford almost anything ;)
Tuomas