[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: for_UP_and_DOWN
From: |
Han-Wen Nienhuys |
Subject: |
Re: for_UP_and_DOWN |
Date: |
Sun, 22 Apr 2012 08:16:18 -0300 |
sorry for the delay; I was on holidays
On Fri, Apr 20, 2012 at 10:45 AM, Łukasz Czerwiński
<address@hidden> wrote:
> Could you please say, if there was a reason for using
> do {
>
> } while(flip(&d));
>
> instead of my macro: if (UP_and_DOWN)
Macros make code harder to read for people not into the project, so it
is good to be conservative with applying them. That said, I think a
macro for this pattern is justified given its frequency of appearance.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- Re: for_UP_and_DOWN, (continued)
- Re: for_UP_and_DOWN, Graham Percival, 2012/04/14
- Re: for_UP_and_DOWN, Łukasz Czerwiński, 2012/04/15
- Re: for_UP_and_DOWN, David Kastrup, 2012/04/15
- Re: for_UP_and_DOWN, Łukasz Czerwiński, 2012/04/15
- Re: for_UP_and_DOWN, David Kastrup, 2012/04/15
- Re: for_UP_and_DOWN, Graham Percival, 2012/04/15
- Re: for_UP_and_DOWN, David Kastrup, 2012/04/15
- Re: for_UP_and_DOWN, Graham Percival, 2012/04/15
- Re: for_UP_and_DOWN, Łukasz Czerwiński, 2012/04/17
- Re: for_UP_and_DOWN, address@hidden, 2012/04/20
- Message not available
- Re: for_UP_and_DOWN,
Han-Wen Nienhuys <=
- Re: for_UP_and_DOWN, Łukasz Czerwiński, 2012/04/23
- Re: for_UP_and_DOWN, Graham Percival, 2012/04/15