Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery] Preferred coding style for if tests

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Eric Schabell <eschabell AT sourcemage.org>
  • To: SourceMage Sorcery List <sm-sorcery AT lists.ibiblio.org>
  • Subject: Re: [SM-Sorcery] Preferred coding style for if tests
  • Date: Wed, 28 Jan 2004 17:29:45 +0100

On Wed, Jan 28, 2004 at 05:22:48PM +0100, Ondra Tomecka wrote:
> Hi,
>
> Just a quick question, which may unleash a flamewar ;-)
> Is there preferred style for writing tests?
>
> I mean should I use for patches this form:
> -------------------------------------------
> if [ some_test ]; then
> do_some_simple_command
> fi
> -------------------------------------------
>
This one please, lowers the complexity for someone to help with the
patching of code if you ask me... we are going to lay down a style
document in a few months.

erics




Archive powered by MHonArc 2.6.24.

Top of Page