Author: Isaac Close Date: To: Hampshire LUG Discussion List Subject: Re: [Hampshire] Code style
--- On Mon, 8/6/09, Hugo Mills <hugo@???> wrote:
> > On Mon, Jun 08, 2009 at 02:53:12PM +0100, Daniel Pope wrote:
> >
> > result = 1 if test() else -1
> >
> > the idea being that the difference in syntax stresses
> the success path
> > as the default with the failure path as a fallback.
>
> Eww. That's *intensely* ugly.
>
I disagree. The above makes sense to me and fits on one line, whats so *intensely* ugly about it ?