Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Audit: overly complicated expression

On Wed, Sep 04, 2002 at 09:35:38AM +0000, Mark C. Chu-Carroll wrote:
> On Wed, 2002-09-04 at 10:11, Jonathan Gossage wrote:
> > 
> > 
> > > >-----Original Message-----
> > > >From: stellation-res-admin@xxxxxxxxxxxxxxx
> > > >[mailto:stellation-res-admin@xxxxxxxxxxxxxxx]On Behalf Of Florin Iucha
> I have to say that I take Florin's side on this one... When I look at
> the nested ?:, even when formatted, I find it hard to read, except by
> translating it into the if/then in my head. Like Florin, I find ?:
> conditionals very difficult to handle in any but the simplest of cases.
> Personally, I'd rather not ever see a ?: nested in a ?:.
> 
> 	-Mark
> 

By the way, I have no strong feelings about this one way or the other, so if
anyone wants to use the if-then-form they should feel free to change the code.

Almost the *only* strong feeling I have about coding style is that I should make
every effort to make sure each source file I edit begins with an OSI-approved
license -- this is not always easy, but I find it well worth the effort.

dave

-- 
Dave Shields, IBM Research, shields@xxxxxxxxxxxxxx. 


Back to the top