Re: [Hampshire] Code style

Kezdőlap

Reply to this message
Szerző: Simon Reap
Dátum:  
Címzett: Hampshire LUG Discussion List
Tárgy: 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