lilypond-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]