Re: [Hampshire] Code style

Top Page

Reply to this message
Author: Simon Reap
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Code style
Hugo Mills wrote:
> On Mon, Jun 08, 2009 at 03:09:49PM +0100, Vic wrote:
>
>> #define min(a, b) ((a<b) ? a : b )
>>
>    I'll live with this use. Concise, readable (once), and above all
> hidden from view at the point of use.

>


Until someone does
                     min (a++, b++)
and wonders why it doesn't work (and yes, I *have* seen that happen)


Simon