[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] auto generated regression tests

From: bump
Subject: Re: [gnugo-devel] auto generated regression tests
Date: Tue, 6 Aug 2002 15:17:24 -0700

Gunnar wrote:

> > One issue is that as written matcher_status returns statuses in
> > uppercase while dragon_status returns statuses in lowercase. We
> > would have to standardize this. 
> > 
> > It seems better to me to use uppercases.
> > I didn't give a rationale for this. The rationale is that ALIVE, DEAD, ...
> > is what is used in the source code.
> I disagree. It's better to continue with lower case since we already
> use that in the dragon_status command. Generally I prefer to avoid
> all-caps words, except where such are established practice, such as in
> C macros.

You could say we have an established practice. Our functions status_to_string
and safety_to_string produce upper case output, and ALIVE, DEAD, ... are
used consistently in both the source and the documentation.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]