p.s.

>> In the rewrite Kieren gave of Bernhard's score the global variable is still 
>> included at the voice level.

And, yes, I would likely move the \global variable to the staff level(s) — or 
even score, if the type of global information warranted/allowed — though I 
didn’t go that far in my "cleanup" this time.

Cheers,
Kieren.

On Sep 23, 2018, at 9:47 AM, Kieren MacMillan <kieren_macmil...@sympatico.ca> 
wrote:
> 
> Hi all,
> 
>> In the rewrite Kieren gave of Bernhard's score the global variable is still 
>> included at the voice level. So, it seems that less typing is not the reason.
> 
> No, less typing is not the reason.
> 
> Here are three of the more important reasons I prefer late-stage combination:
> 
> 1. It’s less likely there will be redundant information/data, which brings 
> potential for clashes or performance slowdowns.
> 
> 2. I’ve found code reuse to be easier, since things added earlier in the code 
> chain don’t have to be removed.
> 
> 3. The reused (e.g., \global) references are spread across a smaller section 
> of the code — rather than separated by many code lines, or even contained in 
> different files — making maintenance a little easier.
> 
> Of course, a lot of it is simply personal preference/style, so there’s no big 
> need to change if you don’t agree with my reasoning! I was just offering a 
> possible improvement.
> 
> Cheers,
> Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to