Re: [Hampshire] Code style

Top Page

Reply to this message
Author: Andy Random
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Code style

On Mon, 8 Jun 2009, Bob Dunlop wrote:

> So I guess you wouldn't be a fan of the GNU C construct
>
>    something ?: fallback

>
> equivalent of standard C
>
>    something ? something : fallback

>
> providing something has no side effects. No significant advantage that I
> can see and a real portability glitch.


Yes, that's pretty unpleasant...

> Another programmer in the company likes to use it and it really irritates
> me.


I hope that "other programmer" isn't Kelly?

:)

Andy